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

Re: Fixing wrong version number comparison



On Sat, Dec 08, 2001 at 05:17:34PM +0000, Edward Avis wrote:
> 
> If I build a package of 1.09 with 'Serial: 1' in the spec file then it
> upgrades cleanly, but I want to avoid doing that.  What makes you so
> sure that 1.09 > 1.0703?

You can't avoid the epoch change, add
	Epoch: 1

> 
> (This is rpm 3.0.6 BTW - maybe the version number comparison has changed
> with rpm 4?)

No. There were some weird fringe cases that flip-flopped, but rpm-4.0.3
was released with exactly the same algorithm as rpm-3.0.6.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org	(jbj@redhat.com)
Chapel Hill, NC





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