Package: debconf-i18n,debconf-utils
Version: 1.5.55
Severity: serious
Justification: policy 12.3 footnote 2
Tags: patch

debconf-i18n contains a symlink /usr/share/doc/debconf-i18n -> debconf.
Its dependency on debconf is unversioned though which means, that the
copyright and changelog files can get out of sync. This violates the
Debian policy section 12.3 footnote 2.

The solution is to add "(= ${source:Version})" (since both are Arch:all) to
debconf-i18n's Depends in debian/control.

Note that debhelper cannot be blamed on this, because debconf does not
use dh_installdocs --link-doc, but rather instantiates this symlink on
its own. It therefore is debconf's responsibility to add the versioned
dependency.

The same issue holds for nettle-utils.

Attaching a .debdiff for your convenience.

Helmut
diff -Nru debconf-1.5.55/debian/changelog debconf-1.5.55+nmu1/debian/changelog
--- debconf-1.5.55/debian/changelog     2014-12-14 08:43:06.000000000 +0100
+++ debconf-1.5.55+nmu1/debian/changelog        2015-02-28 11:22:37.000000000 
+0100
@@ -1,3 +1,11 @@
+debconf (1.5.55+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Tighten dependency on debconf for packages sharing their
+    /usr/share/doc to comply with Debian policy 12.3. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 28 Feb 2015 11:21:46 +0100
+
 debconf (1.5.55) unstable; urgency=low
 
   * Team upload
diff -Nru debconf-1.5.55/debian/control debconf-1.5.55+nmu1/debian/control
--- debconf-1.5.55/debian/control       2014-11-24 10:11:06.000000000 +0100
+++ debconf-1.5.55+nmu1/debian/control  2015-02-28 11:21:43.000000000 +0100
@@ -31,7 +31,7 @@
 Conflicts: debconf-english, debconf-utils (<< 1.3.22)
 Replaces: debconf (<< 1.3.0), debconf-utils (<< 1.3.22)
 Architecture: all
-Depends: debconf, liblocale-gettext-perl, libtext-iconv-perl, 
libtext-wrapi18n-perl, libtext-charwidth-perl, ${misc:Depends}
+Depends: debconf (= ${source:Version}), liblocale-gettext-perl, 
libtext-iconv-perl, libtext-wrapi18n-perl, libtext-charwidth-perl, 
${misc:Depends}
 Description: full internationalization support for debconf
  This package provides full internationalization for debconf, including
  translations into all available languages, support for using translated
@@ -52,7 +52,7 @@
 
 Package: debconf-utils
 Section: devel
-Depends: debconf (>= 1.3.20), ${misc:Depends}
+Depends: debconf (= ${source:Version}), ${misc:Depends}
 Conflicts: debconf (<< 0.1.0)
 Replaces: debconf (<< 0.1.0)
 Architecture: all

Reply via email to