diff --git a/python-oslo.config.spec b/python-oslo.config.spec index a9c2ed0..12a85a3 100644 --- a/python-oslo.config.spec +++ b/python-oslo.config.spec @@ -110,7 +110,8 @@ sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} -PBR_VERSION=6.4.0 PYTHONPATH=$CWD sphinx-build -b html doc/source doc/build/html +PBR_VERSION=6.4.0 PYTHONPATH=. \ + sphinx-build -b html doc/source doc/build/html # remove the sphinx-build leftovers rm -rf doc/build/html/.{doctrees,buildinfo}