Hi, On Sat, Mar 25 2000 at 19:17 +0100, Bostjan Muller wrote:
I am trying to build an rpm package. The problem is, that I do not want the newer version to completely overwrite the previous config files. What do I have to include into the spec file and wherež to save the old files as old.file.rpmsave or old.file.rpmorig ?
Put a `%config' right before the file name in the spec's file listing. For instance like this: %files /usr/bin/jmacs /usr/bin/joe /usr/bin/jpico /usr/bin/jstar /usr/bin/rjoe /usr/bin/termidx %config /usr/lib/jmacsrc %config /usr/lib/joerc %config /usr/lib/jpicorc %config /usr/lib/jstarrc %config /usr/lib/rjoerc %doc /usr/man/man1/joe.1.gz %doc INFO %doc LIST %doc README %doc TODO %doc VERSION %doc copying Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/