I am not seeing the handling of config files as described the "Maximum RPM" guide, and I'm hoping an experience packager can lend me some brain cycles.
I have a file scenario as described by
http://www.rpm.org/max-rpm/ch-rpm-up...FIG-FILE-MAGIC:
Quote:
Original file = X, Current file = Y, New file = X
Here we have a file that was changed at some point. However, the new file is identical to the existing file prior to the local modifications.
In this case, RPM takes the viewpoint that since the original file and the new file are identical, the modifications made to the original version must still be valid for the new version. It leaves the existing, modified file in place.
|
What is happening to me, is that RPM is overwriting the the current configuration file that has been modified, there is not an ".rpmsave" or ".rpmorig" version of the file or any warnings when I update.
The file is that is being overwritten is defined in the %files section of my specfile, I have no warnings when building the rpm and I have tried bumping both the Version and the Release.