[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
"--replacefiles" %file directive
- From: "Jaco Greeff" <jaco puxedo org>
- To: rpm-list redhat com
- Subject: "--replacefiles" %file directive
- Date: 5 May 2002 14:21:13 -0000
Hi,
I've got the following scenario: For the rpms I'm building, I would like to
have some way of instructing RPM through the %files list to ignore conflicts
with files from other packages and just replace them. (a macro for the
commandline --replacefiles) I'll schetch the scenario, maybe there is
something I can already do to get around this.
The packages that I'm currently busy with allows for different spash screens
in KDE 3.0. Currently I'm building kdebase to "require" "kdelook-splash"
which can be provided by any number of packages. By default, in my kdebase
compile, it creates a subpackage, kdebase-splash which provides
"kdelook-splash" as required by kdebase.
Now, I've also got a number of packages providing the splash functionality.
They all provide "kdelook-splash" as to not break. On installing these, I
need to do a "rpm --replacefiles -i kdelook-splash-liquid-0.9.4-1.i686.rpm"
as to overwite the default files. I would like this to happen automagically,
for instance, by specifying (in the replacement and original splash packages)
%files
%allowreplace /usr/share/apps/kdesplash/pics/whatever.png
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.
Greetings,
Jaco
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]