On Mon, Dec 05, 2016 at 07:20:42PM +0100, Guido Günther wrote: > Hi Tzafrir, > On Thu, Dec 01, 2016 at 01:31:48PM +0200, Tzafrir Cohen wrote: > > Package: git-buildpackage-rpm > > Version: 0.8.7 > > Severity: minor > > > > Dear Maintainer, > > > > I'm not sure yet as of which version, but the %patch macro of rpm > > supports the flag -F<num>, which seems to be similar to that of > > patch(1): allow patches with a specific fuzz. > > > > If the spec has the line '%patch0 -p1 -F2', you would get the following > > error: > > > > Usage: gbp [options] > > > > gbp: error: no such option: -F > > > Can you please give some details _which_ subcommand you are invoking > with which options and which repo?
Either buildpackagee-rpm or import-srpm. Options were irrelevant. OK. Here's a test case, sorry for not including it earlier: git init test cd test touch 1.patch cat <<EOF >test.spec Name: test Version: 1.0 Release: 1 Summary: sum License: lic Patch1: 1.patch %description %prep %patch1 -F2 EOF git add test.spec 1.patch git commit -m "test repo" gbp buildpackage-rpm -- Tzafrir Cohen | [email protected] | VIM is http://tzafrir.org.il | | a Mutt's [email protected] | | best [email protected] | | friend

