[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#821854: kdepim: kmail and kleopatra should Depend: gnupg (>= 2) | gnupg2



Source: kdepim
Severity: normal

In debian experimental, we are preparing a version of gnupg that is
built from the "modern" GnuPG branch (today, that's GnuPG 2.1.x).
This means that we hope to have the gnupg packages (and /usr/bin/gpg)
provided from 2.1.x.

we'll be providing backward-compatible gnupg2 packages (e.g. with
symlinks from /usr/bin/gpg2 to /usr/bin/gpg) so that packages that
depend on the old path can continue to use it.

But we'd like to be able to remove those transitional/symlink packages
at some point.

kmail and kleopatra both explicitly Depend: on gnupg2.

It would be better if they Depended on gnupg (>= 2) | gnupg2 instead.

The attached patch should do the trick.

Thanks for maintaining kdepim in debian!

    --dkg

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/debian/control b/debian/control
index cb35a09..7643048 100644
--- a/debian/control
+++ b/debian/control
@@ -225,7 +225,7 @@ Section: net
 Architecture: any
 Depends: dirmngr,
          gnupg-agent,
-         gnupg2,
+         gnupg (>= 2) | gnupg2,
          gpgsm,
          pinentry-qt4 | pinentry-x11,
          ${misc:Depends},
@@ -241,7 +241,7 @@ Architecture: any
 Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
 Recommends: accountwizard,
             gnupg-agent,
-            gnupg2,
+            gnupg (>= 2) | gnupg2,
             kdepim-doc,
             kdepim-themeditors,
             ktnef,

Reply to: