Mailinglist Archive: opensuse-kernel (76 mails)

< Previous Next >
Re: [opensuse-kernel] kernel package versioning
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/14/2011 04:29 AM, Michal Marek wrote:
On 13.6.2011 18:44, Bruno Friedmann wrote:
I'm just afraid about how much factory tester will forget to upgrade
3.0.rc2 to 3.0.[0-9] as zypper/rpm/solver will always
consider it a downgrade version.

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.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEUEARECAAYFAk33eY0ACgkQLPWxlyuTD7LzFwCfbI1aDUU8+mfnp52HGUGfrkiF
cLwAmL/HzydDadJq5qcfC0B2qTGBA0o=
=mCI4
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >