Re: RPM naming question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgpKTykr3Nit9.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux