Don’t assume %_smp_mflags is -j%_smp_build_ncpus

This commit is contained in:
Benjamin A. Beasley 2023-03-17 07:52:47 -04:00
parent 1e657e6d65
commit ee7a1d97bd

View File

@ -170,7 +170,7 @@ find . -type f \( -name '*.woff' -o -name '*.woff2' \) -print -delete
%pyproject_wheel
%if %{with doc_pdf}
sphinx-build -b latex %{?_smp_mflags} docs %{_vpath_builddir}/_latex
sphinx-build -b latex -j%{?_smp_build_ncpus} docs %{_vpath_builddir}/_latex
%make_build -C %{_vpath_builddir}/_latex LATEXMKOPTS='-quiet'
%endif