Bug#542288: debian-policy: Version numbering: native packages, NMU's, and binary only uploads
On Tue, 18 Aug 2009, Manoj Srivastava wrote:
> Given these, I read this as letting the tools rely on
> the following invariants, even though these are not explicitly spelled
> out in so many words in policy:
>
> 1) If there is a - in the version number, then the package is
> non-native
> a) the upstream version is the part of the string until the last
> '-' in the version number
> b) there is a .orig.tar.gz and
> c) diff.gz referenced in the .dsc
>
> 2) If there is no '-' in the version number, then the package is a
> debian native package
> a) there is no debian revision, all the version number is the
> upstream version number
> b) there is a tar.gz and no diff.gz in the .dsc file
(1) is not necessarily true in the case of NMUs of native packages.[1]
The only way to tell if a package is native or not is to inspect the
.dsc. [So long as the as-yet-to-be-proposed wording is clear on this,
it should be a big deal.]
That said, the rest looks reasonable, but it would probably be useful
to make sure that we're actually representing current practice.
Don Armstrong
1: I've personally made a at least one of these before I was aware of
the +nmu1 option.
--
Three little words. (In descending order of importance.)
I
love
you
-- hugh macleod http://www.gapingvoid.com/graphics/batch35.php
http://www.donarmstrong.com http://rzlab.ucr.edu
Reply to: