From c2b3a2ca0085dd12bb064232b09b97c462998e43 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Tue, 31 Mar 2026 13:57:09 +0000 Subject: [PATCH] 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. --- config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 736cf6a..5c011af 100644 --- a/config.yaml +++ b/config.yaml @@ -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"