From e3f668b58453af52602188338d2f729cb77d9f8e Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 12 May 2022 16:21:33 +0200 Subject: [PATCH] spec: use %autosetup Replace the two %setup calls with %autosetup; the second call was even redoing the first. Reported by Neal Gompa, thanks! --- packaging/cockpit-starter-kit.spec.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packaging/cockpit-starter-kit.spec.in b/packaging/cockpit-starter-kit.spec.in index 1502e95..47052bf 100644 --- a/packaging/cockpit-starter-kit.spec.in +++ b/packaging/cockpit-starter-kit.spec.in @@ -25,8 +25,7 @@ Requires: cockpit-system Cockpit Starter Kit Example Module %prep -%setup -q -n %{name} -%setup -q -a 1 -n %{name} +%autosetup -n %{name} -a 1 # ignore pre-built webpack in release tarball and rebuild it rm -rf dist