[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] rpm versions?
From:       Dan Stromberg <dstromberglists () gmail ! com>
Date:       2007-11-30 18:24:25
Message-ID: 47505559.50309 () gmail ! com
[Download RAW message or body]

Vladimir Nadvornik wrote:
> On pátek 30 listopad 2007, Dan Stromberg wrote:
>   
>> We have a product with versions like:
>>
>> 3.0.1-dev
>> 3.0.2-rc2
>> 3.0.2.5 (for a customer version)
>>
>> ...etc.
>>
>> As I'm packaging these as RPM's, we've been trying to do:
>>
>> %define major 3
>> %define minor 0
>> %define patchlevel 2
>> %define relnum rc2
>>
>>
>> ...but is that going to confuse rpm?  That is, is relnum going to be
>> compared numerically or as an ASCII string, or as something else?
>>
>> How can we ensure that dev < rc2 < 5 for relnum?  Do we need to come up
>> with a numbering scheme like "dev is 0-20, rc is 21-40, customer
>> versions are 41-60" etc?
>>
>>     
> Yes, converting everything to numbers is probably the most safe way.
> Some project use something like 3.0.99.2 for 3.1-RC2.
>   
How high can the numbers go?

Is a number like 8000 safe?


---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic