summaryrefslogtreecommitdiff
path: root/lib/rpmds.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-06-05 14:56:49 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-06-05 14:56:49 +0300
commitb22fa73fea6873dfc3816433e130820a5d9f33da (patch)
treeb51dc27004ffce45a423ca01107ebd82ff25465d /lib/rpmds.h
parentc33d80aae907726f49d9197e557cb8213bd85c13 (diff)
downloadlibrpm-tizen-b22fa73fea6873dfc3816433e130820a5d9f33da.tar.gz
librpm-tizen-b22fa73fea6873dfc3816433e130820a5d9f33da.tar.bz2
librpm-tizen-b22fa73fea6873dfc3816433e130820a5d9f33da.zip
Unbreak isLegacyPreReq()
- 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
Diffstat (limited to 'lib/rpmds.h')
-rw-r--r--lib/rpmds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rpmds.h b/lib/rpmds.h
index 61b4d5635..e8b2a33d6 100644
--- a/lib/rpmds.h
+++ b/lib/rpmds.h
@@ -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 \