On Tue, Dec 06, 2016 at 09:51:19AM +0100, Tzafrir Cohen wrote: > 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:
Ahh...I see now. The specfile parsing code is using an internal OptionParser that gives the message. I've improved the error output a bit since there might be other options that are accepted and pushed your patch. Thanks! -- Guido

