Skip to content

Commit 8edd3a4

Browse files
authored
Merge pull request openSUSE#979 from bmwiedemann/autosetupn
Consider %autosetup -N
2 parents 97b15e7 + f022b60 commit 8edd3a4

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)