2009/2/7 James Davidson <james@xxxxxxxxxxxxxx>: > On Fri Feb 06, 2009 at 05:05:49PM +0000, Alex Bennee <kernel-hacker@xxxxxxxxxx> wrote: >> This is a wild shot in the dark but I thought I'd better ask in case >> some one has. Has anyone created a script/tool that can take a src RPM and >> apply it's patches (in sequence) to an existing GIT tree? > > This may be what you are looking for: > http://www.gnome.org/~federico/news-2008-07.html#rpm2git Pretty much what I wanted although the script breaks on fancy SPEC's that use variables to evaluate version (like Fedora Core's kernel). The attached patch allows the specification of the branch by hand. CC'd to federico. -- Alex, homepage: http://www.bennee.com/~alex/ CV: http://www.bennee.com/~alex/cv.php
Attachment:
0001-Allow-the-specification-of-an-exact-branch.patch
Description: Binary data