On Thu, Jul 15, 2010 at 09:10:57AM +0200, Sven Joachim wrote:
> 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

thanks for the info, currently waiting on an upstream pull request.
http://www.zytor.com/pipermail/klibc/2010-July/002667.html
will upload aboves fix together with soon to appear 1.5.19.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to