From 890a0e2d01eb8e7c9a96bd135a85093a4da8c559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Sun, 10 Sep 2023 16:06:19 +0300 Subject: [PATCH] [sb2] Don't run make twice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Once in autogen.sh and once in %make Signed-off-by: Björn Bidar --- autogen.sh | 3 +-- rpm/scratchbox2.spec | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index 206c7b85..efa70cb9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,5 +3,4 @@ #automake_version=1.9 rm -rf configure autom4te.cache -autoreconf --verbose --force --install --make - +autoreconf --verbose --force --install diff --git a/rpm/scratchbox2.spec b/rpm/scratchbox2.spec index 1299ff3a..04835e62 100644 --- a/rpm/scratchbox2.spec +++ b/rpm/scratchbox2.spec @@ -42,8 +42,7 @@ Scratchbox2 man pages. ./autogen.sh %configure touch .configure -# Can't use %{?_smp_mflags} here: race condition in build system -%{__make} %{_make_output_sync} %{_make_verbose} +%make_build %install %__make install prefix=%{buildroot}/usr