https://bugzilla.novell.com/show_bug.cgi?id=638736
https://bugzilla.novell.com/show_bug.cgi?id=638736#c6
--- Comment #6 from David Rankin 2010-09-14 22:19:35 UTC ---
Here is what the upstream guys have to say about the issue:
err... only suse uses PreReq nowadays. that might be your problem.
See openSUSETools on build.o.o for the package createrepo and see what
patches they used.
Can suse fix this. What is PreReq anyway?
Here is the patch suggestion. I haven't tried it yet, but I'll report back
after I do. Put this in your hip-pocket for now:
patch-yum-packages.py
--- yum/packages.py.orig
+++ yum/packages.py
@@ -1353,11 +1353,14 @@
is a pre-requires or a not"""
# FIXME this should probably be put in rpmUtils.miscutils since
# - that's what it is
+ RPMSENSE_PREREQ = (1 << 6)
+ RPMSENSE_SCRIPT_PRE = (1 << 9)
+ RPMSENSE_SCRIPT_POST = (1 << 10)
if flag is not None:
# Note: RPMSENSE_PREREQ == 0 since rpm-4.4'ish
- if flag & (rpm.RPMSENSE_PREREQ |
- rpm.RPMSENSE_SCRIPT_PRE |
- rpm.RPMSENSE_SCRIPT_POST):
+ if flag & (RPMSENSE_PREREQ |
+ RPMSENSE_SCRIPT_PRE |
+ RPMSENSE_SCRIPT_POST):
return 1
return 0
-- 1.6.0.2
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.