On Wed, Apr 26, 2017 at 07:55:48PM +0100, Ben Hutchings wrote: > > rpm doesn't have a problem with config file handling and deals with > > config files in a similar way that dpkg uses the "conffile" attribute > > to deal with them. rpm spec files use two (one-and-a-half?) macros: > > > > - "%config": "foo.conf" is replaced in an upgrade and saved as > > "foo.conf.rpmsave"; > > > > - "%config(noreplace)": "foo.conf" isn't replaced in an upgrade and > > the new "foo.conf" is installed as "foo.conf.rpmnew". > > I didn't know about this, and I'm pleased to see that this is (now) > possible. ... for at least 15 years (I just don't have earlier experience)
> Is this documented somewhere? (I've never been able to find > documentation of RPM macros that isn't very old and incomplete.) https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s03.html -- WBR, wRAR
signature.asc
Description: PGP signature