[repo-coord] Re: Obsoletes/Provides/Conflicts For Replacing Other Packages

Axel Thimm Axel.Thimm at atrpms.net
Mon Aug 2 10:43:48 CEST 2004


On Mon, Aug 02, 2004 at 04:27:59PM +0800, Jeff Pitman wrote:
> Obsoletes: python2 < %{version}
> Provides: python2 = %{version}
> 
> I would really like to be able to have:
> 
> Provides: python = %{version}

That was possible with rpm <= 4.2 or so, but in modern rpm versions
the two above are equal, so a versioned Provides always implicitely
carries an Obsolete like in the first example.

This bug was reported by Rex at bugzilla.redhat.com, and the
resolution was "it's a feature". Not really IMO, as it simply removes
a degree of freedom a packager/user had (e.g. providing sendmail =
something to satisfy dependencies). :(

Aynway, you will need to take that into account, even if RH9's rpm
still plays nice with you ... :/
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/repo-coord/attachments/20040802/11254328/attachment.bin


More information about the repo-coord mailing list