diff --git a/src/rocks-pylib/rocks/build.py b/src/rocks-pylib/rocks/build.py index b06db01..19ffbce 100644 --- a/src/rocks-pylib/rocks/build.py +++ b/src/rocks-pylib/rocks/build.py @@ -1551,7 +1551,7 @@ def resolveVersions(self, files): dict = {} for e in files: name = e.getUniqueName() # name w/ arch string appended - if not dict.has_key(name) or e >= dict[name]: + if not dict.has_key(name) or e.getName() >= dict[name].getName(): dict[name] = e # Extract the File objects from the dictionary and return