git2spec.pl: strip path from patches
authorHarald Hoyer <harald@redhat.com>
Thu, 17 Nov 2011 10:01:41 +0000 (11:01 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 17 Nov 2011 10:03:08 +0000 (11:03 +0100)
git2spec.pl

index 27e5889..38f899a 100755 (executable)
@@ -49,6 +49,7 @@ while(<>) {
        print $_;
        $num=1;
        for(@patches) {
+           s/.*\///g;
            print "Patch$num: $_";
            $num++;
        }