Explorar el Código

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.
Julian Andres Klode hace 10 años
padre
commit
6fbe573970
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      debian/tests/control

+ 4 - 1
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