Skip to content

Commit f022b60

Browse files
committed
Consider %autosetup -N
because it does not include autopatch.
1 parent ad8accf commit f022b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec_add_patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ while(<S>)
9292

9393
if ($in_prep
9494
&& /^%auto(patch|setup)\b/) {
95-
$autopatch = 1;
95+
$autopatch = 1 unless /%autosetup.+-N/;
9696
}
9797
if ($in_prep
9898
&& /^%setup\b/) {

0 commit comments

Comments
 (0)