Version comparison algorithm

Mauricio Teixeira (netmask) netmask at webset.net
Mon Nov 27 07:22:00 PST 2006


Em Sex, 2006-11-24 às 23:20 +0100, Jan Engelhardt escreveu:

> >> You may use the epoch.  It's made to solve that kind of problem.
> 
> Please elaborate.

--< foo.spec >--
Name: kernel-default
Version: 2.6.18.2
Release: jen38
Epoch: 1
--

That would generate kernel-default-1:2.6.18.2-jen38.rpm (note the "1:").

-- 
% Mauricio Teixeira (netmask)
% mteixeira{a}webset{d}net <> Maceio/AL/BR
% http://mteixeira.webset.net <> http://pmping.sf.net




More information about the Smart mailing list