Re: Bug#437392: debhelper: subroutine "isnative" in Dh_Lib.pm is confused by NMU of native package
On Tue, Aug 14, 2007 at 13:38:04 -0400, Joey Hess wrote:
> Bart Martens wrote:
> > Policy states that if there is no "debian_revision" then hyphens "-" are
> > not allowed in the "upstream_version".
> > http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
> > Policy also states that "native Debian packages" are "packages which
> > have been written especially for Debian".
> > http://www.debian.org/doc/debian-policy/ch-binary.html#s3.2.1
> >
> > Policy does not explicitly state that the presence/absence of a
> > "debian_revision" or that the presence/absence of hyphen(s) "-" indicate
> > whether or not the package is a "native Debian package".
>
> <debian_revision>
>
> It is optional; if it isn't present then the <upstream_version>
> may not contain a hyphen. This format represents the case where
> a piece of software was written specifically to be turned into a
> Debian package, and so there is only one "debianisation" of it
> and therefore no revision indication is required.
>
> This strongly implies that debian native packages don't use debian_revision.
>
It also implies that if there is no debian_revision, upstream_version
can contain a hyphen.
Cheers,
Julien
Reply to: