SOURCES: smart-missingok.patch (NEW) - fix es_ES locale - add miss...
patrys
patrys at pld-linux.org
Tue Oct 9 16:27:15 CEST 2007
Author: patrys Date: Tue Oct 9 14:27:15 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix es_ES locale
- add missingok patch to parse our channels
---- Files affected:
SOURCES:
smart-missingok.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/smart-missingok.patch
diff -u /dev/null SOURCES/smart-missingok.patch:1.1
--- /dev/null Tue Oct 9 16:27:15 2007
+++ SOURCES/smart-missingok.patch Tue Oct 9 16:27:10 2007
@@ -0,0 +1,14 @@
+--- smart-0.52/smart/backends/rpm/metadata.py~ 2007-10-09 15:48:35.000000000 +0200
++++ smart-0.52/smart/backends/rpm/metadata.py 2007-10-09 16:00:29.393594668 +0200
+@@ -225,7 +225,10 @@
+ if r:
+ eversion = "%s-%s" % (eversion, r)
+ if "flags" in elem.keys():
+- erelation = COMPMAP.get(elem.get("flags"))
++ flags = elem.get("flags").split(",")
++ if "OPTIONAL" in flags:
++ flags.remove("OPTIONAL")
++ erelation = COMPMAP.get(",".join(flags))
+ else:
+ erelation = None
+ else:
================================================================
More information about the pld-cvs-commit
mailing list