From c217bc615922f72ed2a45f250bec2a84d5938836 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 18 Mar 2023 11:31:43 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20assume=20%=5Fsmp=5Fmflags=20is?= =?UTF-8?q?=20-j%=5Fsmp=5Fbuild=5Fncpus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-pyrsistent.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 324aef2..48d854c 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -93,7 +93,8 @@ sed -r \ # are some warnings. We want to build the documentation as best we can anyway. # Additionally, we parallelize sphinx-build. %if %{with doc_pdf} -PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='-n %{?_smp_mflags}' +PYTHONPATH="${PWD}" %make_build -C docs latex \ + SPHINXOPTS='-n -j%{?_smp_build_ncpus}' %make_build -C docs/build/latex LATEXMKOPTS='-quiet' %endif