diff --git a/python-hdfs.spec b/python-hdfs.spec index 7c19df8..908f854 100644 --- a/python-hdfs.spec +++ b/python-hdfs.spec @@ -150,7 +150,7 @@ It also includes the avro-specific command-line tool, hdfscli-avro. %pyproject_wheel %if %{with doc_pdf} -PYTHONPATH="${PWD}" sphinx-build -b latex doc _latex %{?_smp_mflags} +PYTHONPATH="${PWD}" sphinx-build -b latex doc _latex -j%{?_smp_build_ncpus} %make_build -C _latex %endif