[yum-cvs] yum/yum packages.py,1.100,1.101
Gijs Hollestelle
gijs at linux.duke.edu
Wed Apr 25 20:19:21 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv13628
Modified Files:
packages.py
Log Message:
Fix problem with inPrcoRange which incorrectly takes the release of the
providing package for requirements with flag != 'EQ' that do not specify
an exact release.
Index: packages.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/packages.py,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- packages.py 13 Apr 2007 09:43:53 -0000 1.100
+++ packages.py 25 Apr 2007 20:19:19 -0000 1.101
@@ -263,8 +263,9 @@
# found it
if f is None:
return 1
- if f != 'EQ':
- # isn't this odd, it's not 'EQ' - it really should be
+ if f != 'EQ' and prcotype == 'provides':
+ # isn't this odd, it's not 'EQ' and it is a provides
+ # - it really should be EQ
# use the pkgobj's evr for the comparison
if e is None:
e = self.epoch
More information about the Yum-cvs-commits
mailing list