Don’t assume %_smp_mflags is -j%_smp_build_ncpus
This commit is contained in:
parent
4435cdb29f
commit
07adcbdc08
1 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ echo 'nbsphinx_allow_errors = True' >> docs/conf.py
|
|||
%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/en LATEXMKOPTS='-quiet'
|
||||
%endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue