diff --git a/britney.py b/britney.py index 83db505..2078f3b 100755 --- a/britney.py +++ b/britney.py @@ -1515,7 +1515,13 @@ class Britney(object): maybe_nbs = "" if not source_t or same_source(source_t[VERSION], v): for pkg in oodbins[v]: - if self.__maxver(pkg, suite) == v: + maxver = None + for other_arch in self.options.architectures: + if pkg not in self.binaries[suite][other_arch][0]: continue + pkgv = self.binaries[suite][other_arch][0][pkg][VERSION] + if maxver is None or apt_pkg.version_compare(pkgv, maxver) > 0: + maxver = pkgv + if maxver == v: maybe_nbs = "; NBS?" break oodtxt = oodtxt + "%s (from