Using git for patch management in Fedora

Karel Zak kzak at
Tue Nov 19 11:51:29 UTC 2013

On Tue, Nov 19, 2013 at 10:51:01AM +0000, Daniel P. Berrange wrote:
> Yep, I've done the same thing for all the packages I maintain in Fedora
> and RHEL too. It makes maintaining RPMs soo much easier, particularly
> when you have lots of patches to manage. The script I use is 

It would be nice to improve the script to read "References:" or
"Addresses:" lines from the git commit messages and use the lines as
comments for Patch%d: in the SPEC file. Something like:

Patch123: 0001-foo-bar.patch

Maybe it would be also possible to use the URL to ask bugzilla for 
bug Id and Subject and then generate SPEC %changelog :-)


 Karel Zak  <kzak at>

More information about the devel mailing list