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:
Andrew Lukoshko 2026-03-31 13:57:09 +00:00
parent fb8f9b5452
commit c2b3a2ca00

View File

@ -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"