From 51c08855a3dc96c0810a541e72373ab9359c0d20 Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin Date: Mon, 18 Nov 2024 18:18:53 +0100 Subject: [PATCH] Use %make_build, so that the build is parallel Resolves: RHEL-68672 --- nss.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nss.spec b/nss.spec index a11f9cf..510ae3d 100644 --- a/nss.spec +++ b/nss.spec @@ -411,7 +411,7 @@ pushd nspr_build %ifarch i686 x86_64 sed -i '/^PR_MD_ASFILES/d' config/autoconf.mk %endif -make +%{make_build} date +"%e %B %Y" | tr -d '\n' > date.xml echo -n %{nspr_version} > version.xml @@ -507,12 +507,13 @@ export POLICY_FILE="nss.config" export POLICY_PATH="/etc/crypto-policies/back-ends" -%{__make} -C ./nss all -%{__make} -C ./nss latest +%{make_build} -C ./nss all +%{make_build} -C ./nss latest # build the man pages clean pushd ./nss -%{__make} clean_docs build_docs +%{make_build} clean_docs +%{make_build} build_docs popd # and copy them to the dist directory for %%install to find them