get_dependency_solvers: The "foo:any" modifier can also appear in B-D relations

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 7 years ago
parent 2242821c01
commit 7217c22b42

@ -779,8 +779,8 @@ def get_dependency_solvers(block, binaries_s_a, provides_s_a, *, build_depends=F
# - :native is ok iff the target is arch:any # - :native is ok iff the target is arch:any
if archqual == 'native' and package.architecture != 'all': if archqual == 'native' and package.architecture != 'all':
packages.append(name) packages.append(name)
else:
# Multi-arch handling for regular dependencies # Multi-arch handling for both build-dependencies and regular dependencies
# - :any is ok iff the target has "M-A: allowed" # - :any is ok iff the target has "M-A: allowed"
if archqual == 'any' and package.multi_arch == 'allowed': if archqual == 'any' and package.multi_arch == 'allowed':
packages.append(name) packages.append(name)

Loading…
Cancel
Save