David Kastrup wrote:
Andreas Ericsson [off-list ref] writes:
quoted
Junio C Hamano wrote:
quoted
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.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231