Re: updating libvorbis

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



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.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux