mrburns
19th October 2011, 11:17 PM
I need to to apply thirdparty patches to a few packages that are already in the Fedora repository. I looked into building rpms and it looks simple enough to edit the existing .spec file to include my patches. But I would need to do this everytime an update is out, so I was wondering if there was some way I could do this automatically as soon as a new update is available. If so, what's the best way to accomplish this.
I figured I could create a local repository using createrepo and keep all my custom built rpms in it so that yum can update automatically. When a new update is out in the official repo, I should fetch the srpm automatically, patch the .spec file and build a custom rpm and push it into my local repo. Is that how I should do it or is there a better way?
I figured I could create a local repository using createrepo and keep all my custom built rpms in it so that yum can update automatically. When a new update is out in the official repo, I should fetch the srpm automatically, patch the .spec file and build a custom rpm and push it into my local repo. Is that how I should do it or is there a better way?