Use %make_build, so that the build is parallel
Resolves: RHEL-68672
This commit is contained in:
parent
c82f714818
commit
51c08855a3
9
nss.spec
9
nss.spec
@ -411,7 +411,7 @@ pushd nspr_build
|
|||||||
%ifarch i686 x86_64
|
%ifarch i686 x86_64
|
||||||
sed -i '/^PR_MD_ASFILES/d' config/autoconf.mk
|
sed -i '/^PR_MD_ASFILES/d' config/autoconf.mk
|
||||||
%endif
|
%endif
|
||||||
make
|
%{make_build}
|
||||||
|
|
||||||
date +"%e %B %Y" | tr -d '\n' > date.xml
|
date +"%e %B %Y" | tr -d '\n' > date.xml
|
||||||
echo -n %{nspr_version} > version.xml
|
echo -n %{nspr_version} > version.xml
|
||||||
@ -507,12 +507,13 @@ export POLICY_FILE="nss.config"
|
|||||||
export POLICY_PATH="/etc/crypto-policies/back-ends"
|
export POLICY_PATH="/etc/crypto-policies/back-ends"
|
||||||
|
|
||||||
|
|
||||||
%{__make} -C ./nss all
|
%{make_build} -C ./nss all
|
||||||
%{__make} -C ./nss latest
|
%{make_build} -C ./nss latest
|
||||||
|
|
||||||
# build the man pages clean
|
# build the man pages clean
|
||||||
pushd ./nss
|
pushd ./nss
|
||||||
%{__make} clean_docs build_docs
|
%{make_build} clean_docs
|
||||||
|
%{make_build} build_docs
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# and copy them to the dist directory for %%install to find them
|
# and copy them to the dist directory for %%install to find them
|
||||||
|
Loading…
Reference in New Issue
Block a user