- prevent RPMSENSE_PREREQ from being set or tested.
authorjbj <devnull@localhost>
Thu, 30 Sep 2004 21:45:27 +0000 (21:45 +0000)
committerjbj <devnull@localhost>
Thu, 30 Sep 2004 21:45:27 +0000 (21:45 +0000)
CVS patchset: 7425
CVS date: 2004/09/30 21:45:27

CHANGES
lib/rpmlib.h

diff --git a/CHANGES b/CHANGES
index 55a8f7a..f8149ce 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,7 @@
        - add type to tag array.
        - add Disttag: syntax to spec file parser and header content.
        - define Suggests:/Enhances: and Priority: tag values.
+       - prevent RPMSENSE_PREREQ from being set or tested.
 
 4.3.1 -> 4.3.2:
        - use /etc/selinux/targeted/contexts/files/file_contexts for now.
index d82a62e..8cbbce0 100644 (file)
@@ -493,7 +493,8 @@ typedef     enum rpmsenseFlags_e {
     RPMSENSE_EQUAL     = (1 << 3),
     RPMSENSE_PROVIDES  = (1 << 4), /* only used internally by builds */
     RPMSENSE_CONFLICTS = (1 << 5), /* only used internally by builds */
-    RPMSENSE_PREREQ    = (1 << 6),     /*!< @todo Legacy. */
+       /* bit 6 used to be RPMSENSE_PREREQ */
+#define        RPMSENSE_PREREQ RPMSENSE_ANY
     RPMSENSE_OBSOLETES = (1 << 7), /* only used internally by builds */
     RPMSENSE_INTERP    = (1 << 8),     /*!< Interpreter used by scriptlet. */
     RPMSENSE_SCRIPT_PRE        = ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */