Typo.
authorjbj <devnull@localhost>
Mon, 11 Jan 1999 23:16:09 +0000 (23:16 +0000)
committerjbj <devnull@localhost>
Mon, 11 Jan 1999 23:16:09 +0000 (23:16 +0000)
CVS patchset: 2690
CVS date: 1999/01/11 23:16:09

lib/depends.c

index 4d1a0ce..5c4b24c 100644 (file)
@@ -236,7 +236,7 @@ int rpmtransAddPackage(rpmTransactionSet rpmdep, Header h, FD_t fd,
     char ** obsoletes;
 
     /* XXX binary rpms always have RPMTAG_SOURCERPM, source rpms do not */
-    if (!headerIsEntry(h, RPMTAG_SOURCEPACKAGE))
+    if (headerIsEntry(h, RPMTAG_SOURCEPACKAGE))
        return 1;
 
     /* FIXME: handling upgrades like this is *almost* okay. It doesn't