Using git for patch management in Fedora

Richard W.M. Jones rjones at
Tue Nov 19 12:14:42 UTC 2013

On Tue, Nov 19, 2013 at 12:51:29PM +0100, Karel Zak wrote:
> 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 
> > 
> >
> Cool. 
> 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 :-)

The erlang patches script also reads various information from the
commit comments too.


Richard Jones, Virtualization Group, Red Hat
Read my programming blog:
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

More information about the devel mailing list