https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Version_Tag
'Non-use of tilde "~"': The outdated "it is not supported by rpm in currently supported Fedora releases." bullet point should be removed -- in fact there's no currently supported Fedora release where rpm wouldn't support it.
Dne 21.12.2013 17:36, Ville Skyttä napsal(a):
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Version_Tag
'Non-use of tilde "~"': The outdated "it is not supported by rpm in currently supported Fedora releases." bullet point should be removed -- in fact there's no currently supported Fedora release where rpm wouldn't support it. -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
I opened FPC ticket for this: https://fedorahosted.org/fpc/ticket/398
I am currently working on RPM dependency generator for RubyGems and it would be helpful to properly handle versions such as 4.1.0.rc1. While this fails:
$ rpmdev-vercmp 4.1.0 4.1.0.rc1 4.1.0 < 4.1.0.rc1
It could be transformed into
$ rpmdev-vercmp 4.1.0 4.1.0~rc1 4.1.0 > 4.1.0~rc1
Which works as expected.
Vít
It could be transformed into
$ rpmdev-vercmp 4.1.0 4.1.0~rc1 4.1.0 > 4.1.0~rc1
According to current guidelines, rc1 belongs to release tag.
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_packag...
-- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok
Dne 27.2.2014 11:48, Miro Hrončok napsal(a):
It could be transformed into
$ rpmdev-vercmp 4.1.0 4.1.0~rc1 4.1.0 > 4.1.0~rc1
According to current guidelines, rc1 belongs to release tag.
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_packag...
That is easy as long as you manually updating the package. But I am writing provides generator for RubyGems.
Lets say I have package foo-4.1.0.rc1. The generator is going to generate provide such as "rubygem(foo) = 4.1.0.rc1" which is always higher then the stable 4.1.0. What should I do in this case?
The tilde provides elegant solution, i.e. I transform the last dot into tilde and everything is just perfect. I could drop the rc1 entirely, but that is completely different version.
Vít
packaging@lists.fedoraproject.org