Re: RPM naming question.-part 2

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

 



Aaron Konstam wrote:
> Not only did this program not do what you incate it does, it seems to
> give me the opposite answer:
> [[email protected] ~]# fedora-rpmvercmp  
> Epoch1 :0
> Version1 :6
> Release1 :5-7
> Epoch2 :0
> Version2 :6
> Release2 :5-7L
> 0:6-5-7L is newer
> 
> How come?

Because if you have foo-0.6.5-7L.fc7, the epoch is unset (which is the
same as 0 to rpm), the version is 0.6.5, and the release is 7L.fc7.

$ fedora-rpmvercmp 
Epoch1 :0
Version1 :0.6.5 
Release1 :7L.fc7
Epoch2 :0
Version2 :0.6.5 
Release2 :7.fc7
0:0.6.5-7.fc7 is newer

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Few things are harder to put up with than a good example.
    -- Mark Twain (1835-1910)

Attachment: pgpC6XRr0wu1P.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