On 2010-07-15 08:49 +0200, Salvatore Bonaccorso wrote: > Hmm, regarding that: debian/rules uses debhelper and passes --link-doc > to dh_installdocs. Thus a symlink is created to the libklibc binary > package, which contains the changelogs, etc ... > [...] > The binary package depends on Depends: libklibc (= ${binary:Version}), > ${misc:Depends}, so the binary:Version of libklibc. > > So this should be policy compliant, what do you think about it, is > this fine?
It would be fine if there was a postinst that converts an existing /usr/share/doc/klibc-utils directory to a symlink, which is necessary on upgrades (dpkg never does that by itself). Here's an untested example that should do the trick: --8<---------------cut here---------------start------------->8--- #!/bin/sh set -e if [ ! -L /usr/share/doc/klibc-utils ] && \ [ -e /usr/share/doc/klibc-utils ]; then rmdir /usr/share/doc/klibc-utils ln -sf libklibc /usr/share/doc/klibc-utils fi --8<---------------cut here---------------end--------------->8--- Cheers, Sven -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org