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

Re: PRE Version numbers



On Mon, Jan 15, 2001 at 02:51:27PM +0100, Ingo Saitz wrote:
> But does katie (the new dinstall) check the versions of the
> tarball, too or only the version of the debian packgae that's in
> the .dsc file? If not, you could use the following versions:
> 
>     upstream-version debian-revision    version
>         1.4-0pre1   -       1       = 1.4-0pre1-1
>         1.4-0pre1   -       2       = 1.4-0pre1-2
>         1.4-0pre2   -       1       = 1.4-0pre2-1
>         1.4         -       1       = 1.4-1
> 
> According to hte packaging manual ch. 5, "dpkg will break the
> upstream-version and debian-revision apart at the last hyphen in
> the string."

$ dpkg --compare-versions 1.4-0pre2-1 lt 1.4-1 && echo true || echo false
false

Doesn't matter what katie will do, this doesn't work.  If it did, I
wouldn't have to implement the ~ thing for preversions and backports.

-- 
Joseph Carter <knghtbrd@debian.org>                Free software developer

"I am ecstatic that some moron re-invented a 1995 windows fuckup." 
        -- Alan Cox

Attachment: pgp75RfJZY7NE.pgp
Description: PGP signature


Reply to: