I'm currently testing installing a RPM with a config file using the config(noreplace)
directive.
As per using config(noreplace) my spec file marks a single file as a config file:
%config(noreplace) /opt/lm/dest/conf/db.xml
I did an on disk modification to the file for version 1 and proceeded to upgrade to version 2. I was expecting the verbose output to (when using -Uvh
) to indicate that it has create a db.xml.rpmnew
which it didn't however the on disk modifications I made are intact.
Does anyone know why this might be the case?
Some background info: I am using the same tar file to create both version 1 & 2 which shouldn't make a difference but thought I'd mention it anyway.
EDIT 1:
Incase it wasn't clear the db.xml.rpmnew
file was not created.