From 02a39ed9c1294568a148cf30c4c340db2b9c56cd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 18 Mar 2023 12:11:19 -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-sure.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-sure.spec b/python-sure.spec index 8572dee..31bf8a6 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -83,7 +83,8 @@ sed -r -i 's/[[:blank:]]--cov=[^[:blank:]]+//' setup.cfg %build %pyproject_wheel %if %{with doc_pdf} -PYTHONPATH="${PWD}" %make_build -C docs latex SPHINXOPTS='%{?_smp_mflags}' +PYTHONPATH="${PWD}" %make_build -C docs latex \ + SPHINXOPTS='-j%{?_smp_build_ncpus}' %make_build -C docs/build/latex LATEXMKOPTS='-quiet' %endif