Bug#681289: debian-policy: Changelog and copyright should be package metadata
Le Thu, Jul 12, 2012 at 08:46:03AM +0200, Raphaël Hertzog a écrit :
> We should thus modify the policy to say:
>
> 1/ that the changelog and copyright files ought to be installed in the
> DEBIAN directory along with the other control files
>
> (this will require changes in dh_installdocs and dh_installchangelogs)
>
> 2/ that programs that want to retrieve the changelog and/or copyright file
> of an installed package should try to use "dpkg-query --control-show <pkg>
> <changelog|copyrigh>" and fall back to the usual path if that fails.
>
> Those interfaces are available in wheezy's dpkg (>= 1.16.5).
>
> 3/ that programs that want to retrieve the changelog and/or copyright file
> of a .deb file should use dpkg-deb -I <file> <changelog|copyrigh>" (or
> look for the changelog/copyright file in the directory extracted
> with dpkg-deb -e <file>)
For the record, I have started a related discussion on debian-devel.
http://lists.debian.org/msgid-search/20120714004835.GB8323@falafel.plessy.net
--
Charles Plessy
Tsurumi, Kanagawa, Japan
Reply to: