mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-26 18:41:09 +00:00
get_dependency_solvers: The "foo:any" modifier can also appear in B-D relations
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
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…
x
Reference in New Issue
Block a user