[CentOS] the tag Obsoletes: in spec files

Leonard den Ottolander leonard at den.ottolander.nl
Wed Jun 1 08:52:57 UTC 2011


Hello Philippe,

On Tue, 2011-05-31 at 16:27 +0200, Philippe Naudin wrote:
> Here is what I have tried :
> Provides:	tetex = %{version}
> Obsoletes:	tetex < %{version}
> 
> But it doesn't help, yum is ready to install texlive but doesn't
> remove tetex.

Not sure if the Obsoletes tag actually works as intended or expected,
but these version tests are odd. Unless tetex and texlive use the same
version numbers you are testing the wrong version number, and also why
the '<'? Try this without the version test, just 

Provides:	tetex
Obsoletes:	tetex

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the CentOS mailing list