From e2ed4542bc13de81ec3e63841b5eecb1d37729ba Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 22 Aug 2022 13:29:21 -0400 Subject: [PATCH] Parallelize sphinx-build --- python-fasteners.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-fasteners.spec b/python-fasteners.spec index af9f402..37a4844 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -68,7 +68,8 @@ sed -r -i '/\b(diskcache)\b/d' requirements-test.txt %pyproject_wheel %if %{with doc_pdf} -PYTHONPATH="${PWD}" sphinx-build -b latex doc/source %{_vpath_builddir}/_latex +PYTHONPATH="${PWD}" \ + sphinx-build -b latex %{?_smp_mflags} doc/source %{_vpath_builddir}/_latex %make_build -C %{_vpath_builddir}/_latex LATEXMKOPTS='-quiet' %endif