Package: wv
Version: 1.2.9-4+b1
Severity: serious
Justification: policy 12.3 footnote 2
Tags: patch

wv contains a symlink /usr/share/doc/wv which points to libwv-1.2-4. Its
dependency on libwv-1.2-4 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.

This is because, wv installes this symlink manually rather than using
dh_installdocs --link-doc. Thus, wv needs to add
"libwv-1.2-4 (= ${binary:Version})" to its Depends in debian/control.
Note that libwv-dev is already correctly doing so.

Attaching a .debdiff for convenience.

Helmut
diff -Nru wv-1.2.9/debian/changelog wv-1.2.9/debian/changelog
--- wv-1.2.9/debian/changelog   2014-10-02 11:35:37.000000000 +0200
+++ wv-1.2.9/debian/changelog   2015-01-26 00:24:05.000000000 +0100
@@ -1,3 +1,10 @@
+wv (1.2.9-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Tighten dependency wv -> libwv-1.2-4 to meet policy 12.3. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 26 Jan 2015 00:23:37 +0100
+
 wv (1.2.9-4) unstable; urgency=medium
 
   * "debian/control":
diff -Nru wv-1.2.9/debian/control wv-1.2.9/debian/control
--- wv-1.2.9/debian/control     2014-10-02 11:34:13.000000000 +0200
+++ wv-1.2.9/debian/control     2015-01-26 00:23:34.000000000 +0100
@@ -11,7 +11,7 @@
 
 Package: wv
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, libwv-1.2-4 (= ${binary:Version})
 Suggests: texlive, ghostscript, elinks | links | lynx, imagemagick, gv | 
postscript-viewer
 Description: Programs for accessing Microsoft Word documents
  wvWare (previously known as mswordview) is a library that allows access

Reply via email to