SOURCES: yum-missingok.patch - use MISSINGOK instead of OPTIONAL
patrys
patrys at pld-linux.org
Wed Jan 9 19:27:40 CET 2008
Author: patrys Date: Wed Jan 9 18:27:40 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use MISSINGOK instead of OPTIONAL
---- Files affected:
SOURCES:
yum-missingok.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/yum-missingok.patch
diff -u SOURCES/yum-missingok.patch:1.3 SOURCES/yum-missingok.patch:1.4
--- SOURCES/yum-missingok.patch:1.3 Mon Dec 17 09:09:14 2007
+++ SOURCES/yum-missingok.patch Wed Jan 9 19:27:34 2008
@@ -18,7 +18,7 @@
return s
def flagToString(flags):
-+ if flags & (1 << 19): return ('OPTIONAL', flagToString(flags & 0xf))
++ if flags & (1 << 19): return ('MISSINGOK', flagToString(flags & 0xf))
+
flags = flags & 0xf
@@ -60,7 +60,7 @@
self.prco[prcotype] = zip(name, flag, vers)
+ if prcotype in ('requires', 'provides'):
+ for dep in self.prco[prcotype]:
-+ if type(dep[1]) is tuple and dep[1][0] == 'OPTIONAL':
++ if type(dep[1]) is tuple and dep[1][0] == 'MISSINGOK':
+ self.prco[prcotype].remove(dep)
+ dep = (dep[0], dep[1][1], dep[2])
+ if prcotype == 'requires':
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/yum-missingok.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list