-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/14/2011 11:35 AM, Michal Marek wrote:
On 14.6.2011 17:09, Jeff Mahoney wrote:
On 06/14/2011 04:29 AM, Michal Marek wrote:
As I wrote, rpm sorts letters before numbers, so unlike strcmp(), we have "rc2"< "0":
$ zypper vcmp 3.0.rc2 3.0.0 3.0.rc2 is older than 3.0.0
So it should all work fine.
Isn't this a relatively recent change, though? I seem to recall that we couldn't do the .rc2 naming when we first started releasing RPMs with RC kernels specifically because they'd be evaluated after the numeric versions and would break updates.
It was changed in 2003 in https://bugzilla.redhat.com/show_bug.cgi?id=50977, but people tend to think in ASCII :). Plus, the trailing .0 is really needed, because "" < ".rc2" < ".0", so the 2.6 packages would have to be called 2.6.39.0.
Ah ok. That's what I was thinking of. Thanks. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk33gpQACgkQLPWxlyuTD7LRjgCfY4mRQjclAI2mBRySwi4E+L51 pE4AoIXC1KZZDjzgtXCrrndVFQ7vn/ms =WMzm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org