[CentOS] updating libvorbis

Tue Apr 26 09:43:20 UTC 2011
Johnny Hughes <johnny at centos.org>

On 04/26/2011 04:34 AM, Philippe Naudin wrote:
> [ replying to myself ]
> 
> Le mar 26 avr 2011 11:20:44 CEST, Philippe Naudin a écrit:
>> ...
>> Who knows how to make rpm understand than 1.2.3 is newer than 1.1.2 ?
>> I have tried :
>> %define name libvorbis
>> Name:		%{name}
>> Provides:	%{name} = %{version}-%{release}
>> Obsoletes:	%{name} < %{version}-%{release}
>> and the same thing for %{name}-devel, but without any success.
> 
> Got it : I had to add (ahem) 
> Epoch:		1
> but I don't understand exactly how this "Epoch" stuff works. Any
> pointer to some reading about spec files ?
> 
> Thanks,
> 

Think of epoch as a hidden number that allows you to make what would be
a lower version of an RPM seem newer.  One might think this is not
something that would ever need to be done ... however, there are times
when you might need to do it, for example:

You might use it in a situation where you rebase an RPM version down ...
for example if you had a Distro called Red Hat 9.0 and if you wanted to
start a new distribution called Red Hat Enterprise Linux 3.0 and if you
wanted the Red Hat Release RPM of RHEL 3 (with a version of 3.x.x) to be
newer than a Red Hat Release of RH9 (with a version of 9.x.x) then you
can use Epoch to make that happen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110426/ad3e85ba/attachment-0005.sig>