Mantis - Resin
Viewing Issue Advanced Details
5539 minor always 10-02-13 10:48 10-22-13 16:06
alex  
ferg  
normal  
closed 4.0.37  
fixed  
none    
none 4.0.38  
0005539: rpm: install new config files as file.rpmnew
rep by: Khalid Hosein

In case this wasn't intentional, could you re-config the RPM so that it doesn't rename existing config file (e.g. resin.xml, resin.properties, etc.) upon an upgrade? What would be preferable (and this would be the most common case) is to install the 'new' config files as file.rpmnew.

These pages may be useful:
http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html [^]
http://www-uxsup.csx.cam.ac.uk/~jw35/docs/rpm_config.html [^]

I'm not an RPM expert, so please correct me if I'm wrong, but it seems that almost every file in the RPM has marked as a config file. Try this:
rpm -qcv -p resin-pro-4.0.37-1.x86_64.rpm

If you compare a package like Apache, you'll find only a handful of them marked as config files:
rpm -qcv -p ftp://rpmfind.net/linux/centos/6.4/updates/x86_64/Packages/httpd-2.2.15-29.el6.centos.x86_64.rpm [^]

There are no notes attached to this issue.