[Rpm-maint] [Suse-patch] Revert provides as obsoletes behavior
Michael Schroeder
mls at suse.de
Tue Jun 19 10:39:18 UTC 2007
On Tue, Jun 19, 2007 at 12:39:54AM +0200, Michael Schroeder wrote:
> On Mon, Jun 18, 2007 at 01:58:47PM +0200, Florian Festi wrote:
> > Why updates should not be treated as obsoletes of the pkg name can be
> > easily seen at the example already mentioned earlier.
> >
> > python-2.4 (virtual provides python = 2.4)
> > python22 provides python = 2.2
> >
> > rpm -Uvh python-2.5-1.rpm
> > removes both of the packages above.
>
> Maybe, but look at Fedora's python package. It contains:
>
> python-2.4.2:
> Provides: python2 = 2.4.2
> Obsoletes: python2
>
> python22 will probably also contain:
> Provides: python2 = 2.2
>
> Now installung python-2.5-1 also removes both packages.
Too much copy'n'paste. It should read:
Now installung python-2.4.2 removes python22.
Cheers,
Michael.
--
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
More information about the Rpm-maint
mailing list