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
http://pkgs.fedoraproject.org/cgit/libvirt-sandbox.git/tree/update-patche...
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:
#
https://bugzilla.redhat.com/show_bug.cgi?id=850355
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
--
Karel Zak <kzak(a)redhat.com>
http://karelzak.blogspot.com