|
Panu Matilainen |
474c3e |
diff -up rpm-4.4.2.3/build/rpmfc.c.prereq rpm-4.4.2.3/build/rpmfc.c
|
|
Panu Matilainen |
474c3e |
--- rpm-4.4.2.3/build/rpmfc.c.prereq 2008-04-01 09:47:42.000000000 +0300
|
|
Panu Matilainen |
474c3e |
+++ rpm-4.4.2.3/build/rpmfc.c 2008-04-01 09:54:54.000000000 +0300
|
|
Panu Matilainen |
474c3e |
@@ -1488,7 +1488,7 @@ static struct DepMsg_s depMsgs[] = {
|
|
Panu Matilainen |
474c3e |
_notpre(RPMSENSE_SCRIPT_POSTUN), 0 },
|
|
Panu Matilainen |
474c3e |
{ "Requires", { "%{?__find_requires}", NULL, NULL, NULL },
|
|
Panu Matilainen |
474c3e |
-1, -1, RPMTAG_REQUIREFLAGS, /* XXX inherit name/version arrays */
|
|
Panu Matilainen |
474c3e |
- RPMSENSE_FIND_REQUIRES|RPMSENSE_TRIGGERIN|RPMSENSE_TRIGGERUN|RPMSENSE_TRIGGERPOSTUN|RPMSENSE_TRIGGERPREIN, 0 },
|
|
Panu Matilainen |
474c3e |
+ RPMSENSE_PREREQ, RPMSENSE_PREREQ },
|
|
Panu Matilainen |
474c3e |
{ "Conflicts", { "%{?__find_conflicts}", NULL, NULL, NULL },
|
|
Panu Matilainen |
474c3e |
RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_CONFLICTFLAGS,
|
|
Panu Matilainen |
474c3e |
0, -1 },
|
|
Panu Matilainen |
474c3e |
diff -up rpm-4.4.2.3/lib/rpmlib.h.prereq rpm-4.4.2.3/lib/rpmlib.h
|
|
Panu Matilainen |
474c3e |
--- rpm-4.4.2.3/lib/rpmlib.h.prereq 2008-04-01 09:13:04.000000000 +0300
|
|
Panu Matilainen |
474c3e |
+++ rpm-4.4.2.3/lib/rpmlib.h 2008-04-01 09:47:42.000000000 +0300
|
|
Panu Matilainen |
474c3e |
@@ -505,8 +505,7 @@ typedef enum rpmsenseFlags_e {
|
|
Panu Matilainen |
474c3e |
RPMSENSE_EQUAL = (1 << 3),
|
|
Panu Matilainen |
474c3e |
RPMSENSE_PROVIDES = (1 << 4), /* only used internally by builds */
|
|
Panu Matilainen |
474c3e |
RPMSENSE_CONFLICTS = (1 << 5), /* only used internally by builds */
|
|
Panu Matilainen |
474c3e |
- /* bit 6 used to be RPMSENSE_PREREQ */
|
|
Panu Matilainen |
474c3e |
-#define RPMSENSE_PREREQ RPMSENSE_ANY
|
|
Panu Matilainen |
474c3e |
+ RPMSENSE_PREREQ = (1 << 6), /*!< @todo Legacy. */
|
|
Panu Matilainen |
474c3e |
RPMSENSE_OBSOLETES = (1 << 7), /* only used internally by builds */
|
|
Panu Matilainen |
474c3e |
RPMSENSE_INTERP = (1 << 8), /*!< Interpreter used by scriptlet. */
|
|
Panu Matilainen |
474c3e |
RPMSENSE_SCRIPT_PRE = ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */
|