[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upstream version with a hyphen?



On Wed, Jun 23, 2004 at 08:58:33PM -0400, Josh Huber wrote:
> I'm getting ready to upload a new version of crash (finally!),
> but I've run into a small problem.  The upstream version
> includes a dash. (i.e. the current version looks like 3.8-2.1)
> 
> Now, for a while I was going under the assumption that this was
> not okay, so I changed the version to 3.8.2.1, which worked
> great.
> 
> I took a look in the policy manual, and I've been lead to
> believe that having a hyphen in the upstream version is okay:
> 
>    "The upstream_version may contain only alphanumerics[28] and
>     the characters . + - : (full stop, plus, hyphen, colon) and
>     should start with a digit. If there is no debian_revision
>     then hyphens are not allowed; if there is no epoch then
>     colons are not allowed."
>            -- section 5.6.11, "Version"
> 
> In particular, "if there is no debian_revision then hyphens are
> not allowed."
> 
> Perhaps I am wrong in thinking that if there IS a debian
> revision that hyphens SHOULD be allowed? ;)

You're right; to my knowledge, they are allowed.

> The full version string I tried using is: 3.8-2.1-1, and I ended
> up with a debian native package.

I bet you forgot to put crash_3.8-2.1.orig.tar.gz in the parent
directory of your build?

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: