Re: RPM naming question.-part 2

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

 



On Thu, 2007-07-12 at 13:01 -0400, Todd Zullinger wrote:
> 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
Not only did this program not do what you incate it does, it seems to
give me the opposite answer:
[root@localhost ~]# fedora-rpmvercmp  
Epoch1 :0
Version1 :6
Release1 :5-7
Epoch2 :0
Version2 :6
Release2 :5-7L
0:6-5-7L is newer

How come?
--
=======================================================================
Do more than anyone expects, and pretty soon everyone will expect more.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx


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

  Powered by Linux