Re: Obsoletes/Provides/Conflicts For Replacing Other Packages

Axel Thimm <[email protected]> Mon, 2 Aug 2004 10:43:48 +0200
Newsgroups gmane.linux.redhat.rpm.atrpms.repo-coordination
Message-ID <[email protected]>
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

_______________________________________________
repo-coord mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/repo-coord
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBDf7DQBVS1GOamfERAiaXAJ48B4R3fajjVr1y0Z+eriEbTISliQCdGaIl
jiUOz9JXpqq/p6xChOYO5wk=
=1Slh
-----END PGP SIGNATURE-----