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

Re: Is icu-1.7-0.pre.20001012 an okay version name?



On Thu, Oct 12, 2000 at 04:02:22PM -0700, Yves Arrouye wrote:
> In my quest to figure out how to number a prerelease package for ICU that
> will be upgraded by icu-1.7-1 (final release), I came up with names like:
> 
> 	1.7.0.pre.20001012
> 
> which work w/ dpkg version comparison but also mean that the Debian revision
> is non-numeric, as it is 0.pre.20001012. Is that allowed?

% dpkg --compare-versions 1.7.0 gt 1.7-pre-20001012 || echo false

% dpkg --compare-versions 1.7.0 gt 1.7pre.20001012 || echo false

That way, you can use any Debian revision, upgrading will work.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: