SOURCES: poldek-prereq.patch (NEW) - rpm 4.4 drops legacy PreReq s...
qboosh
qboosh at pld-linux.org
Mon Jul 25 15:36:29 CEST 2005
Author: qboosh Date: Mon Jul 25 13:36:29 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- rpm 4.4 drops legacy PreReq support, so avoid prereq loops in newly generated indexes
---- Files affected:
SOURCES:
poldek-prereq.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/poldek-prereq.patch
diff -u /dev/null SOURCES/poldek-prereq.patch:1.1
--- /dev/null Mon Jul 25 15:36:29 2005
+++ SOURCES/poldek-prereq.patch Mon Jul 25 15:36:24 2005
@@ -0,0 +1,18 @@
+--- poldek-0.18.9/capreq.c.orig 2004-12-30 13:05:19.000000000 +0100
++++ poldek-0.18.9/capreq.c 2005-07-25 15:16:01.000000000 +0200
+@@ -646,10 +646,13 @@
+ cr->cr_flags |= CAPREQ_PREREQ | CAPREQ_PREREQ_UN;
+ }
+ #else
++# if RPMSENSE_PREREQ != RPMSENSE_ANY /* rpm 4.4 drops legacy PreReq support */
+ if (isLegacyPreReq(flag)) { /* prepared by rpm < 4.0.2 */
+ cr->cr_flags |= CAPREQ_PREREQ | CAPREQ_PREREQ_UN;
+-
+- } else if (isInstallPreReq(flag)) {
++
++ } else
++# endif
++ if (isInstallPreReq(flag)) {
+ cr->cr_flags |= CAPREQ_PREREQ;
+
+ } else if (isErasePreReq(flag)) {
================================================================
More information about the pld-cvs-commit
mailing list