RPM: how to skip user created files during RPM upgrade
I am trying to create an RPM package. However when the RPM package installs, it need to skip some files that might have been created by the user after the last installation and use of the program. Is there a way to build RPM package that just skips the user created content in the installation dir.
lets say my RPM package creates the following dir and creates files required by my application, say .app files.
However the user may also create a few .xml files in the same dir. How will I package my program that will not delete the .xml files from the above dir and will just create the application files (.app files).
I will appreciate any help.