rebuild rpm from installed rpm with rpmrebuild
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
but I personally like the one mentioned below:
rpmrebuild -R -v -P –pug-from-db

Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.