From 30f47dc8d67be28c7c17db3bd5153d76a1e079bc Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 14 Apr 2021 10:42:35 +0200 Subject: Require dpkg >= 1.20.8 We use a Breaks for the binary package instead of adding a versioned depends, as Breaks will cause apt solver to upgrade dpkg, while depends would make apt try to remove apt as first choice. --- debian/control | 4 ++-- debian/tests/control | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 107f58dcb..2f1d0515e 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Build-Depends: cmake (>= 3.4), debhelper-compat (= 12), docbook-xml, docbook-xsl, - dpkg-dev (>= 1.17.14), + dpkg-dev (>= 1.20.8), gettext (>= 0.12), googletest | libgtest-dev , libbz2-dev, @@ -75,7 +75,7 @@ Multi-Arch: same Priority: optional Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} -Breaks: appstream (<< 0.9.0-3~), apt (<< 1.6~), aptitude (<< 0.8.9), libapt-inst1.5 (<< 0.9.9~) +Breaks: appstream (<< 0.9.0-3~), apt (<< 1.6~), aptitude (<< 0.8.9), libapt-inst1.5 (<< 0.9.9~), dpkg (<< 1.20.8) Recommends: apt (>= ${binary:Version}) Section: libs Provides: libapt-pkg (= ${binary:Version}) diff --git a/debian/tests/control b/debian/tests/control index c6cc75648..a69965db4 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,6 +1,6 @@ Tests: run-tests, pkg-config-test Restrictions: allow-stderr -Depends: @, @builddeps@, dpkg, fakeroot, wget, stunnel4, lsof, db-util, +Depends: @, @builddeps@, dpkg (>= 1.20.8), fakeroot, wget, stunnel4, lsof, db-util, gnupg (>= 2) | gnupg2, gnupg1 | gnupg (<< 2), gpgv (>= 2) | gpgv2, -- cgit v1.2.3-70-g09d2