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. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org