From b22fa73fea6873dfc3816433e130820a5d9f33da Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 5 Jun 2009 14:56:49 +0300 Subject: [PATCH] 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 --- lib/rpmds.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rpmds.h b/lib/rpmds.h index 61b4d56..e8b2a33 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 \ -- 2.7.4