Re: [ANNOUNCE] GIT 1.5.3
- From
David Kastrup <dak@gnu.org>
- Date
- Sep 3, 2007, 13:17 UTC
- Message-ID
- <86wsv7hora.fsf@lola.quinscape.zz>
- In-Reply-To
- <46DC05F8.7000709@op5.se>
Andreas Ericsson <ae@op5.se> writes:
Show 25 quoted lines
> David Kastrup wrote: >> Andreas Ericsson <ae@op5.se> writes: >> >>> Junio C Hamano wrote: >>>> Assuming that we do not give the old git-p4import script >>>> packaged in "git-p4 package", would the following patch be all >>>> that is needed, or do we need other things in the spec file? >>>> >>>> -- snipsnap clipcrap -- >>>> +Obsoletes: git-p4 >>> That depends. If packages outside of git requires the git-p4 package >>> to function then this will not suffice and a line saying >>> >>> Provides: git-p4 >>> >>> would have to be added instead. >> >> Not instead, but in addition IIRC (it obsoletes the package and >> provides the feature). But that would be nonsensical if the outside >> package indeed requires git-p4 and we don't have it in our current >> RPM: the purpose of dependencies is to not have things break silently, >> and lying about what we provide would be wrong. > > No, it really is instead. A package obsoleting one of the features > it provides itself would be insane.
Not according to my understanding: "Obsoletes:" concerns _packages_, while "Provides:" concerns features. So it is perfectly feasible to obsolete a previously separate package and provide its functionality.
And indeed, our "emacs-auctex" package _both_ obsoletes _and_ provides "auctex". And it is not like we did not learn this the hard way...
-- David Kastrup