RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/lib/ fsm.c

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Mon 04 Feb 2008 - 20:36:11 CET
Message-Id: <20080204193611.8263A348458@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: rpm                              Date:   04-Feb-2008 20:36:11
  Branch: HEAD                             Handle: 2008020419361100

  Modified files:
    rpm/lib                 fsm.c

  Log:
    fix OpenPKG no-owner-group-on-srpm-install change

  Summary:
    Revision    Changes     Path
    2.143       +2  -2      rpm/lib/fsm.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/fsm.c
  ============================================================================
  $ cvs diff -u -r2.142 -r2.143 fsm.c
  --- rpm/lib/fsm.c	1 Feb 2008 01:23:51 -0000	2.142
  +++ rpm/lib/fsm.c	4 Feb 2008 19:36:11 -0000	2.143
  @@ -774,7 +774,7 @@
   #endif
   	if (fi->fuser && unameToUid(fi->fuser[i], &uid)) {
   #if defined(RPM_VENDOR_OPENPKG) /* no-owner-group-on-srpm-install */
  -	    if (!headerIsEntry(fi->h, RPMTAG_SOURCEPACKAGE)) {
  +	    if (!headerIsEntry(fi->h, RPMTAG_SOURCERPM)) {
   #endif
   	    if (fsm->goal == FSM_PKGINSTALL)
   		rpmlog(RPMLOG_WARNING,
  @@ -788,7 +788,7 @@
   
   	if (fi->fgroup && gnameToGid(fi->fgroup[i], &gid)) {
   #if defined(RPM_VENDOR_OPENPKG) /* no-owner-group-on-srpm-install */
  -	    if (!headerIsEntry(fi->h, RPMTAG_SOURCEPACKAGE)) {
  +	    if (!headerIsEntry(fi->h, RPMTAG_SOURCERPM)) {
   #endif
   	    if (fsm->goal == FSM_PKGINSTALL)
   		rpmlog(RPMLOG_WARNING,
  @@ .
Received on Mon Feb 4 20:36:11 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.