Yum update, how to make rpm package updateable

package-managementrepositoryrpmupdateyum

need a link or tutorial on how to make an rpm package work with yum UPDATE. i have it and already works with yum INSTALL and yum ERASE, but is there somewhere info on how to make rpm package work when using yum UPDATE (what code to add, in what files, etc…)?

thnx a lot

Best Answer

The only thing you need to do to make it work is make sure the version number or release number for the same version in the .spec file is higher then the current version installed. Then when added to your repo and a createrepo is run yum will pick it up and update

Related Topic