On 10/16/2010 12:38 PM, Stefan Seyfried wrote:
Hi,
a question on RPM version number ordering:
Is the following correct?
0.9.24 < 0.9.24.99.017 < 0.9.24.99.01720100123 < 0.9.24.99.018
or is
0.9.24.99.018 < 0.9.24.99.01720100123
?
The reason is: I'd like to package a "0.9.25beta17", but have room for a possible snapshot later on without breaking the monotonic nature of the version number ;-)
Thanks, seife
For what it's worth I use the last release version number plus svn revision when I package svn snapshots ie. last release = 1.20 then an svn snapshot from svn rev 748 will become 1.20.748 then the release 1.21 is > 1.20.748. If the next snapshot you want to package is "0.9.25beta18" there won't be a problem. Mostly upstream packages have correct versioning, as far as your question is concerned, I agree with 0.9.24.99.018 < 0.9.24.99.01720100123. If the final release of your "0.9.25beta17" is 0.9.25 there might be a problem because I suspect that the beta version is greater than the release version and you will have to use provides and obsoletes or something. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org