Skip to content
Snippets Groups Projects
Commit 8b727e3a authored by Andrea Bolognani's avatar Andrea Bolognani
Browse files

control: Fix Depends between arch:any and arch:all packages

When an arch:any package Depends on an arch:all package, the
version constraint should be defined in terms of ${source:Version}
instead of ${binary:Version}. We had gotten this wrong in a
couple of cases.

Closes: #1056988
parent f73bb3c2
No related branches found
No related tags found
1 merge request!237Several fixes and improvements to dependencies
......@@ -76,7 +76,7 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Suggests:
libvirt-clients-qemu (= ${binary:Version}) [amd64 arm64 armel armhf i386 loong64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64 x32],
libvirt-clients-qemu (= ${source:Version}) [amd64 arm64 armel armhf i386 loong64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64 x32],
libvirt-daemon (= ${binary:Version}) [linux-any],
libvirt-login-shell (= ${binary:Version}) [alpha amd64 arm64 armel armhf hppa i386 loong64 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64 x32],
Breaks:
......@@ -893,7 +893,7 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Recommends:
libvirt-l10n (= ${binary:Version}),
libvirt-l10n (= ${source:Version}),
Description: library for interfacing with different virtualization systems
Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). The library aims at providing
......
......@@ -76,7 +76,7 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Suggests:
libvirt-clients-qemu (= ${binary:Version}) [${ARCHES_QEMU}],
libvirt-clients-qemu (= ${source:Version}) [${ARCHES_QEMU}],
libvirt-daemon (= ${binary:Version}) [linux-any],
libvirt-login-shell (= ${binary:Version}) [${ARCHES_LXC}],
Breaks:
......@@ -893,7 +893,7 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Recommends:
libvirt-l10n (= ${binary:Version}),
libvirt-l10n (= ${source:Version}),
Description: library for interfacing with different virtualization systems
Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). The library aims at providing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment