[CentOS] Old and new package version numbers during RPM update

Joseph L. Casale
Sun, 28 Jun 2015 00:17:27 -0000

version 1.x to 2.x, I need to run a program to convert the config file of the
package from version 1.x format to version 2.x format.

Your script within the rpm should have the logic. Clearly if
you know how to update it, you know how to identify if it
needs updating.

jlc