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

Re: RPM naming question.



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

This is what I get when I run the above command: 
[root localhost ~]# fedora-rpmvercmp 0.6.5-7.fc7 0.6.5-7L.fc7
Epoch1 :

Why are my results different than yours?



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