Unbreak isLegacyPreReq()
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 5 Jun 2009 11:56:49 +0000 (14:56 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Jul 2009 06:38:05 +0000 (09:38 +0300)
- long long time ago the PREREQ bit was also turned on for scriptlet
  dependencies etc, this is no longer the case so the old mask doesn't work
- build part is not affected by the mask change as we never set
  PREREQ bit by ourselves
(cherry picked from commit b22fa73fea6873dfc3816433e130820a5d9f33da)

lib/rpmds.h

index 61b4d56..e8b2a33 100644 (file)
@@ -78,7 +78,8 @@ typedef       enum rpmsenseFlags_e {
     RPMSENSE_SCRIPT_INSTALL | \
     RPMSENSE_SCRIPT_CLEAN | \
     RPMSENSE_RPMLIB | \
-    RPMSENSE_KEYRING )
+    RPMSENSE_KEYRING | \
+    RPMSENSE_PREREQ)
 
 #define        _notpre(_x)             ((_x) & ~RPMSENSE_PREREQ)
 #define        _INSTALL_ONLY_MASK \