Re: [CentOS] the tag Obsoletes: in spec files

2011-06-01 Thread Philippe Naudin
Le mer 01 jun 2011 11:37:15 CEST, lo...@lagendijk.xs4all.nl a écrit: > > 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 re

Re: [CentOS] the tag Obsoletes: in spec files

2011-06-01 Thread louis
> 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

Re: [CentOS] the tag Obsoletes: in spec files

2011-06-01 Thread Leonard den Ottolander
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 actuall

Re: [CentOS] the tag Obsoletes: in spec files

2011-06-01 Thread Simon Matter
> Le mar 31 mai 2011 19:26:35 CEST, Ljubomir Ljubojevic a écrit: > > >> ... >> Something is obviously wrong, and does not work like it should. I gave >> up and just removed old version and installed new one. > > Well, I think you are right : Obsoletes doesn't work, or at least need > more documenta

Re: [CentOS] the tag Obsoletes: in spec files

2011-06-01 Thread Philippe Naudin
Le mar 31 mai 2011 19:26:35 CEST, Ljubomir Ljubojevic a écrit: > ... > Something is obviously wrong, and does not work like it should. I gave > up and just removed old version and installed new one. Well, I think you are right : Obsoletes doesn't work, or at least need more documentation about

Re: [CentOS] the tag Obsoletes: in spec files

2011-05-31 Thread Ljubomir Ljubojevic
Gordon Messmer wrote: > On 05/31/2011 07:27 AM, Philippe Naudin wrote: >> But it doesn't help, yum is ready to install texlive but doesn't >> remove tetex. > > Did you flush your yum cache after you rebuilt the package? It may have > old metadata. > __

Re: [CentOS] the tag Obsoletes: in spec files

2011-05-31 Thread Gordon Messmer
On 05/31/2011 07:27 AM, Philippe Naudin wrote: > But it doesn't help, yum is ready to install texlive but doesn't > remove tetex. Did you flush your yum cache after you rebuilt the package? It may have old metadata. ___ CentOS mailing list CentOS@cento

Re: [CentOS] the tag Obsoletes: in spec files

2011-05-31 Thread John Doe
From: Philippe Naudin > tetex is required by : > $ rpm -q --whatrequires tetex > tetex-latex-3.0-33.8.el5_5.6 > jadetex-3.12-15.el5 > texinfo-tex-4.8-14.el5 > and texinfo-tex is happy working with texlive. Maybe he is happy with your texlive but he still says he requires tetex... Did you try a y

Re: [CentOS] the tag Obsoletes: in spec files

2011-05-31 Thread Philippe Naudin
Le mar 31 mai 2011 15:31:17 CEST, Simon Matter a écrit: > > How exactly to use the tag "Obsoletes:" in a spec file ? > > > > I need to offer texlive to users on Centos-5.6, so I packaged it (based > > on a Mandriva src.rpm), and that works. > > > > But I want rpm to *replace* tetex by texlive, ins

Re: [CentOS] the tag Obsoletes: in spec files

2011-05-31 Thread Simon Matter
> How exactly to use the tag "Obsoletes:" in a spec file ? > > I need to offer texlive to users on Centos-5.6, so I packaged it (based > on a Mandriva src.rpm), and that works. > > But I want rpm to *replace* tetex by texlive, instead of just adding > texlive, when users do a : > $ yum install texl

Re: [CentOS] the tag Obsoletes: in spec files

2011-05-31 Thread John Doe
From: Philippe Naudin > 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 t