Ever happened to you that you downloaded and installed a rpm and then deleted the package? If your answer is yes, then there is a solution.
Come to the fairyland of rpmrebuild. Create the rpm from the installed files and give a new number if required.
sudo yum install rpmrebuild
Simplest use is to
rpmrebuild <package name>
but I personally like the one mentioned below:
rpmrebuild -R -v -P –pug-from-db <package name>