From 183fcd911ea31473f6c42a2c4e5b4f34cc5f6091 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 2 Jul 2021 15:20:16 -0400 Subject: [PATCH] spec: Use %make_build macro make_build is: make -O -jXX V=1 VERBOSE=1 So it covers all our make option usage Signed-off-by: Cole Robinson --- qemu.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/qemu.spec b/qemu.spec index 5db8f6a..bed67bd 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1427,24 +1427,24 @@ run_configure \ %if %{tools_only} -make V=1 %{?_smp_mflags} qemu-img -make V=1 %{?_smp_mflags} qemu-io -make V=1 %{?_smp_mflags} qemu-nbd -make V=1 %{?_smp_mflags} storage-daemon/qemu-storage-daemon +%make_build qemu-img +%make_build qemu-io +%make_build qemu-nbd +%make_build storage-daemon/qemu-storage-daemon -make V=1 %{?_smp_mflags} docs/qemu-img.1 -make V=1 %{?_smp_mflags} docs/qemu-nbd.8 -make V=1 %{?_smp_mflags} docs/qemu-storage-daemon.1 -make V=1 %{?_smp_mflags} docs/qemu-storage-daemon-qmp-ref.7 +%make_build docs/qemu-img.1 +%make_build docs/qemu-nbd.8 +%make_build docs/qemu-storage-daemon.1 +%make_build docs/qemu-storage-daemon-qmp-ref.7 -make V=1 %{?_smp_mflags} qga/qemu-ga -make V=1 %{?_smp_mflags} docs/qemu-ga.8 +%make_build qga/qemu-ga +%make_build docs/qemu-ga.8 # endif tools_only %endif %if !%{tools_only} -make V=1 %{?_smp_mflags} +%make_build popd # Fedora build for qemu-user-static @@ -1458,7 +1458,7 @@ run_configure \ --disable-blobs \ --static -make V=1 %{?_smp_mflags} +%make_build popd # static %endif # endif !tools_only