* fix: equality is tested as Version's too

This commit is contained in:
Eray Özkural
2006-05-02 15:47:33 +00:00
parent 0b2b1fa677
commit 0297ffce57
+1 -1
View File
@@ -182,7 +182,7 @@ class Install(AtomicOperation):
ignore_build = ctx.config.options and ctx.config.options.ignore_build_no
if repomismatch or (not ibuild) or (not pkg.build) or ignore_build:
# we don't look at builds to compare two package versions
if pkg.release == irelease:
if Version(pkg.release) == Version(irelease):
self.same_ver = True
else:
if pkg.build == ibuild: