Bug#688220: debian-policy: Typo in path to shlibs files in /var/lib/dpkg/info (188.8.131.52)
Charles Plessy wrote:
> Le Sat, Sep 29, 2012 at 12:22:33PM +0200, Salvatore Bonaccorso a écrit :
>> --- a/policy.sgml
>> +++ b/policy.sgml
>> @@ -6694,7 +6694,7 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
>> The <file>shlibs</file> control files for all the
>> packages currently installed on the system. These are
>> normally found
>> - in <file>/var/lib/dpkg/info/*.symbols</file>, but
>> + in <file>/var/lib/dpkg/info/*.shlibs</file>, but
>> packages should not rely on this and instead should
>> use <tt>dpkg-query --control-path <var>package</var>
>> shlibs</tt> if for some reason these files need to be
> I have corrected the typo in the Policy. Sorry Salvatore, I did not
> realise on time that your patch was a Git patch, so the commit is on
> my name, but you are properly thanked in the changelog and the commit
For future reference, you can set (or reset) the author of a commit
git commit --author='Salvatore Bonaccorso <email@example.com>'
git commit --amend --author='Salvatore Bonaccorso <firstname.lastname@example.org>'
before pushing. Once you've pushed, it's history, though.
> For the other patch, since dpkg in Sid is still version 1.16.x, let's
> wait a moment ? I am retitling this bug to show its main subject
> now that the typo is fixed.
Thanks. Policy should probably just say something like
These files can be read using
<tt>dpkg-query --control-show <var>package</var> shlibs</tt>.