RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: [EMAIL PROTECTED] 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, @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org