Bug#487664: BPP: typo and wrong example
tags 487664 + pending
thanks
On 23/06/08 at 20:46 +0700, Theppitak Karoonboonyanan wrote:
> Package: developers-reference
> Version: 3.4.0
> Severity: normal
> Tags: patch
>
> In section 6.7.9 Best practices for debug packages [bpp-dbg]:
>
> > Note that *the Debian package* should depend on the package that it
> > provides debugging symbols for, and this dependency should be versioned.
> > For example:
> >
> > Depends: libfoo-dbg (= ${binary:Version})
>
> "the Debian package" here should mean "the debug package", and the given
> example rather gives an impression to suggest libfoo to depend on its
> debug package, which is weird.
>
> -- System Information:
> Debian Release: lenny/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
> Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> developers-reference depends on no packages.
>
> Versions of packages developers-reference recommends:
> ii debian-policy 3.8.0.1 Debian Policy Manual and related d
>
> -- no debconf information
>
> --
> Theppitak Karoonboonyanan
> http://linux.thai.net/~thep/
> Index: developers-reference-3.4.0/best-pkging-practices.dbk
> ===================================================================
> --- developers-reference-3.4.0.orig/best-pkging-practices.dbk 2008-06-23 20:33:41.000000000 +0700
> +++ developers-reference-3.4.0/best-pkging-practices.dbk 2008-06-23 20:37:14.000000000 +0700
> @@ -1745,11 +1745,11 @@
> add an entry to <filename>debian/control</filename> for the debug package.
> </para>
> <para>
> -Note that the Debian package should depend on the package that it provides
> +Note that the debug package should depend on the package that it provides
> debugging symbols for, and this dependency should be versioned. For example:
> </para>
> <screen>
> -Depends: libfoo-dbg (= ${binary:Version})
> +Depends: libfoo (= ${binary:Version})
> </screen>
> </section>
Thank you for the patch. Applied as-is to SVN.
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Reply to: