Fix double patch application by keeping %setup instead of %autosetup
The el8 spec uses %setup, and autopatch adds explicit %patch lines. Switching to %autosetup caused patches to be applied twice (once by autosetup, once by the explicit %patch lines). Keep %setup so patches are only applied via autopatch's %patch lines.
This commit is contained in:
parent
fb8f9b5452
commit
c2b3a2ca00
@ -20,7 +20,7 @@ actions:
|
||||
- target: "spec"
|
||||
find: "%setup -q -b1 -b2"
|
||||
replace: |
|
||||
%autosetup -p1 -b1 -b2
|
||||
%setup -q -b1 -b2
|
||||
bash %{SOURCE9001}
|
||||
count: 1
|
||||
- target: "spec"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user