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

Re: Need Help - What to do on bad upstream release number ?



On 29/03/10 at 15:38 +0200, Laurent Vallar wrote:
> Hi,
> 
> Sinatra 1.0 has been released and packaging is done : nothing more to
> do, trunk is ready...
> I should ask a DD to review SVN libsinatra-ruby but there is a big
> problem : latest versions were numbered 1.0.a then 1.0.b and now the
> release is ... 1.0 !
> 
> What to do in this case ? Ask upstream to fix release number or else
> do something to debian changelog ?

You can use 1.0.really1.0-1 as a version, for example.
For alpha and beta releases, it is better to use the ~ character, that
is lower than all other characters.

Examples:
$ dpkg --compare-versions  1.0.b lt 1.0.really1.0 ; echo $?
0

$ dpkg --compare-versions 1.0~b lt 1.0 ; echo $?
0
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |


Reply to: