summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-18 14:21:16 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-18 14:23:46 +0200
commit00c517dcacf7338cac27a7da44b505fd16673f21 (patch)
tree75f9930b9bf176228bcc5ac99508373d7fc4af2f /debian/tests
parent58c78e335eef7a331707a75048504055d89ff3ba (diff)
tests/control: Handle the gpg1/gpg2 mess a bit better
Hardcoding gpgv1 and gnupg1 breaks Ubuntu, because on Ubuntu, these packages do not exist yet. Instead allow gnupg (<< 2) for gnupg1 and gnupg2 for gnupg (>= 2), so we cover all potential combinations.
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control
index b7555dc2e..a282584fa 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,8 @@
Tests: run-tests
Restrictions: allow-stderr
Depends: @, @builddeps@, fakeroot, wget, stunnel4, lsof, db-util,
- gnupg, gnupg1, gpgv, gpgv1,
+ gnupg (>= 2) | gnupg2,
+ gnupg1 | gnupg (<< 2),
+ gpgv (>= 2) | gpgv2,
+ gpgv1 | gpgv (<< 2),
libfile-fcntllock-perl, python3-apt