RPM naming question.
Todd Zullinger
tmz at pobox.com
Thu Jul 12 17:01:11 UTC 2007
Aaron Konstam wrote:
> If you have an rpm: foo-0.6.5-7.fc7 installed and you execute: rpm
> -Uvh foo-0.6.5-7L.fc7.rpm
>
>
> Will the original foo rpm be replaced? If not what change in the
> version would cause the replacement.
You're building (or rebuilding) the foo package I take it?
According to fedora-rpmvercmp from the rpmdevtools package,
foo-0.6.5-7.fc7 is newer than foo-0.6.5-7L.fc7. I'd be more inclined
to append a .1 to the release to make it foo-0.6.5-7.fc7.1. That will
be newer to rpm.
$ fedora-rpmvercmp 0.6.5-7.fc7 0.6.5-7L.fc7
0:0.6.5-7.fc7 is newer
$ fedora-rpmvercmp 0.6.5-7.fc7 0.6.5-7.fc7.1
0:0.6.5-7.fc7.1 is newer
There is some discussion of the version and release tags in the
package naming guidelines:
http://fedoraproject.org/wiki/Packaging/NamingGuidelines
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When the people fear their government, there is tyranny; when the
government fears the people, there is liberty.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070712/95d141aa/attachment-0001.sig>
More information about the fedora-list
mailing list