[CentOS] the tag Obsoletes: in spec files

Tue May 31 13:24:28 UTC 2011
John Doe <jdmls at yahoo.com>

From: Philippe Naudin <philippe.naudin at supagro.inra.fr>

> But I want rpm to *replace* tetex by texlive, instead of just adding
> texlive, when users do a : 
> $ yum install texlive
> (we have a local repo here).
> So I added this line in texlive.spec :
> Obsoletes:  tetex

Not an rpm expert but maybe some other package requires tetex?
rpm -q --whatrequires tetex
Or are these packages tetex requirement automaticaly changed to the replacement package?
I think it works just once and won't prevent tetex from being reinstalled...