summaryrefslogtreecommitdiffhomepage
path: root/tests/data
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@debian.org>2016-12-01 13:31:48 +0200
committerGuido Günther <agx@sigxcpu.org>2016-12-07 12:52:01 +0100
commit73d30ef38a57fd5b10d862c8311a08196f24e001 (patch)
treeeaefaa90f7bbbe1a92d388621bf77703393f5daf /tests/data
parentfa091b6aa82c675a94cd39ec5a68cd4eb4db8215 (diff)
specfile: handle %patch -F
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. Parse the option but ignore it since we don't want patches with fuzz. Closes: #846479
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/rpm/specs/gbp-test-quirks.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/rpm/specs/gbp-test-quirks.spec b/tests/data/rpm/specs/gbp-test-quirks.spec
index bb56b008..0bb1564f 100644
--- a/tests/data/rpm/specs/gbp-test-quirks.spec
+++ b/tests/data/rpm/specs/gbp-test-quirks.spec
@@ -25,6 +25,6 @@ Spec for testing some quirks of spec parsing. No intended for building an RPM.
# Patches are applied out-of-order wrt. numbering
%patch5
%patch2
-%patch1
+%patch1 -F2
# Patch 999 does not exist, rpmbuild would fail but GBP should not
%patch999