--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
 
- Subject: kdepim: kmail and kleopatra should Depend: gnupg (>= 2) | gnupg2
 
- From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
 
- Date: Tue, 19 Apr 2016 18:22:08 -0400
 
- Message-id: <146110452809.17601.3311811011332301963.reportbug@alice.fifthhorseman.net>
 
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,
--- End Message ---