Skip to content

Commit 50905f4

Browse files
Conan-Kudoffesti
authored andcommitted
Use fuzz settings for %autopatch/%autosetup
In the %apply_patches that inspired %autopatch, patch application respects the fuzz settings that are used for %patch. %autopatch and %autosetup weren't using this, which led to an inconsistent patch application behavior.
1 parent 877d5b1 commit 50905f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ done \
10851085
# Plain patch (-m is unused)
10861086
%__scm_setup_patch(q) %{nil}
10871087
%__scm_apply_patch(qp:m:)\
1088-
%{__patch} %{-p:-p%{-p*}} %{-q:-s}
1088+
%{__patch} %{-p:-p%{-p*}} %{-q:-s} --fuzz=%{_default_patch_fuzz}
10891089

10901090
# Mercurial (aka hg)
10911091
%__scm_setup_hg(q)\

0 commit comments

Comments
 (0)