[Fedora-packaging] Naming guidelines: outdated info about tilde in version

Vít Ondruch vondruch at redhat.com
Thu Feb 27 10:30:39 UTC 2014


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 at 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


More information about the packaging mailing list