summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-04-14 10:42:35 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2021-04-21 11:49:50 +0200
commit30f47dc8d67be28c7c17db3bd5153d76a1e079bc (patch)
tree474b22e4e25892e8ffcba564f9f692da768f636e
parent86014d9924afa94efab09c9bd57bcf8b069ae86b (diff)
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.
-rw-r--r--debian/control4
-rw-r--r--debian/tests/control2
2 files changed, 3 insertions, 3 deletions
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 <!nocheck> | libgtest-dev <!nocheck>,
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,