conflict checking was using the wrong header
authorewt <devnull@localhost>
Mon, 21 Oct 1996 02:17:23 +0000 (02:17 +0000)
committerewt <devnull@localhost>
Mon, 21 Oct 1996 02:17:23 +0000 (02:17 +0000)
CVS patchset: 1125
CVS date: 1996/10/21 02:17:23

lib/depends.c

index 8f32512..70f6cf4 100644 (file)
@@ -316,7 +316,7 @@ int rpmdepCheck(rpmDependencies rpmdep,
            return 1;
        }
 
-       if (getEntry(h, RPMTAG_PROVIDES, &type, (void **) &provides, 
+       if (getEntry(p->h, RPMTAG_PROVIDES, &type, (void **) &provides, 
                 &providesCount)) {
            for (j = 0; j < providesCount; j++) {
                if (checkDependentConflicts(rpmdep, &ps, provides[j])) {