RPM Community Forums

Mailing List Message of <rpm-cvs>

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

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Tue 05 Feb 2008 - 09:11:18 CET
Message-Id: <20080205081118.C659434845B@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:   05-Feb-2008 09:11:18
  Branch: HEAD                             Handle: 2008020508111800

  Modified files:
    rpm/lib                 fsm.c

  Log:
    ops, fix OpenPKG no-owner-group-on-srpm-install again: the logic has
    to be reversed

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

  patch -p0 <<'@@ .'
  Index: rpm/lib/fsm.c
  ============================================================================
  $ cvs diff -u -r2.143 -r2.144 fsm.c
  --- rpm/lib/fsm.c	4 Feb 2008 19:36:11 -0000	2.143
  +++ rpm/lib/fsm.c	5 Feb 2008 08:11:18 -0000	2.144
  @@ -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_SOURCERPM)) {
  +	    if (headerIsEntry(fi->h, RPMTAG_SOURCERPM) != 0) {
   #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_SOURCERPM)) {
  +	    if (headerIsEntry(fi->h, RPMTAG_SOURCERPM) != 0) {
   #endif
   	    if (fsm->goal == FSM_PKGINSTALL)
   		rpmlog(RPMLOG_WARNING,
  @@ .
Received on Tue Feb 5 09:11:18 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.