summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubos Kardos <lkardos@redhat.com>2016-04-15 10:47:57 +0200
committerPanu Matilainen <pmatilai@redhat.com>2016-10-20 15:32:35 +0300
commitc34999a7084d793e636fb7443f9efc4cf2b8f1f2 (patch)
treec8de8d11609b2df61d5b47c12c731aabb30dc887
parent5a1da6ff93a69c1c84cc89f6bccee87e979449ef (diff)
downloadrpm-c34999a7084d793e636fb7443f9efc4cf2b8f1f2.tar.gz
Add %{_default_patch_flags} to %__patch which is used in %autosetup
%{_default_patch_flags} is used in %patch spec directive and now it is used also in %__patch macro which is used in %autosetup macro. This make consitent using newer %autosetup macro and older %patch directives. (cherry picked from commit 66a6082634687e45b321a5ade9887420d5830162)
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 036cacf3f..38499d7c1 100644
--- a/macros.in
+++ b/macros.in
@@ -1087,7 +1087,7 @@ done \
# Plain patch (-m is unused)
%__scm_setup_patch(q) %{nil}
%__scm_apply_patch(qp:m:)\
-%{__patch} %{-p:-p%{-p*}} %{-q:-s} --fuzz=%{_default_patch_fuzz}
+%{__patch} %{-p:-p%{-p*}} %{-q:-s} --fuzz=%{_default_patch_fuzz} %{_default_patch_flags}
# Mercurial (aka hg)
%__scm_setup_hg(q)\