rebuild rpm from installed rpm with rpmrebuild

2009-10-22 1 min read Fedora Linux
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