[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: "--replacefiles" %file directive
- From: Jeff Johnson <jbj redhat com>
- To: rpm-list redhat com
- Subject: Re: "--replacefiles" %file directive
- Date: Sun, 5 May 2002 14:14:57 -0400
On Sun, May 05, 2002 at 02:21:13PM -0000, Jaco Greeff wrote:
>
> to allow the "--replacefiles" option to be excersised automatically. I could
> always use "obsoletes" for the replacement package, bvut would like a more
> generic solution since the replacement splash screen can come from a number
> of packages, I don't want to list the obsoletes in all of them to take care
> of this. I've tried to obsolete "kdelook-splash" and also provide it, but it
> still complains due to the virtual package.
> Any ideas or comments will be appreciated.
Hmmm, rpm-4.0.4 might now Do The Right Thing with
Obsoletes: kdelock-splash
i.e. erase any/all packages that have
Provides: kdelock-splash
This turned out to be pretty trivial to implement, I've just forgotten
where I did the work.
Be forewarned: The above *still* does not fix your problem, as any number
of legacy versions of rpm are gonna be used to install your package,
and the traditional behavior of rpm required a package name, not a
virtual provide, in the OBSOLETENAME field.
FWIW, the legacy problem also affects your proposal as well, and can/will
require a tracking dependency for the incompatible functionality to
be usefully deployed.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]