avoid double setup in %prep

in %prep both %setup and %autosetup were called resulting in doubling
the %prep execution time.

Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
This commit is contained in:
Sandro Bonazzola 2023-06-09 09:57:20 +02:00
parent bc72c799c7
commit 44034e55c1
1 changed files with 1 additions and 2 deletions

View File

@ -1425,8 +1425,7 @@ This package provides the QEMU system emulator for Xtensa boards.
%prep
%setup -q -n qemu-%{version}%{?rcstr}
%autosetup -S git_am
%autosetup -n qemu-%{version}%{?rcstr} -S git_am
%global qemu_kvm_build qemu_kvm_build
mkdir -p %{qemu_kvm_build}