Bug#779251: libvlc5: dependency on libvlccore8 too weak
Helmut Grohne
helmut at subdivi.de
Wed Feb 25 21:47:16 UTC 2015
Package: libvlc5
Version: 2.2.0~rc2-2
Severity: serious
Justification: policy 12.3 footnote 2
Tags: patch
libvlc5 contains a symlink /usr/share/doc/libvlc5 -> libvlccore8.
Its dependency on libvlccore8 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 "libvlccore8 (= ${binary:Version})" to
libvlc5's Depends in debian/control.
Note that debhelper cannot be blamed on this, because vlc does not
use dh_installdocs --link-doc, but rather instantiates this symlink on
its own. It therefore is vlc's responsibility to add the versioned
dependency.
Attaching a .debdiff for your convenience.
Helmut
-------------- next part --------------
diff -Nru vlc-2.2.0~rc2/debian/changelog vlc-2.2.0~rc2/debian/changelog
--- vlc-2.2.0~rc2/debian/changelog 2015-01-21 22:42:06.000000000 +0100
+++ vlc-2.2.0~rc2/debian/changelog 2015-02-25 22:41:49.000000000 +0100
@@ -1,3 +1,11 @@
+vlc (2.2.0~rc2-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Add versioned depends on libvlccore8 to libvlc5 which shares
+ /usr/share/doc to comply with Debian policy 12.3. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 25 Feb 2015 22:40:30 +0100
+
vlc (2.2.0~rc2-2) unstable; urgency=medium
* debian/patches: Apply upstream patches for security vulnerabilities.
diff -Nru vlc-2.2.0~rc2/debian/control vlc-2.2.0~rc2/debian/control
--- vlc-2.2.0~rc2/debian/control 2015-01-21 09:39:35.000000000 +0100
+++ vlc-2.2.0~rc2/debian/control 2015-02-25 22:40:21.000000000 +0100
@@ -134,7 +134,7 @@
Package: libvlc5
Section: libs
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, libvlccore8 (= ${binary:Version})
Description: multimedia player and streamer library
This package contains the shared library required by applications using VLC
features.
More information about the pkg-multimedia-maintainers
mailing list