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: pgpKyeCwyCZY4.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux