Mailinglist Archive: opensuse-kernel (76 mails)

< Previous Next >
Re: [opensuse-kernel] kernel package versioning
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, 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

To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups