diff --git a/pytest.spec b/pytest.spec index fe49882..4be5df9 100644 --- a/pytest.spec +++ b/pytest.spec @@ -120,7 +120,7 @@ sed -i 's/"endline": "\\x1b\[90m\\x1b\[39;49;00m",/"endline": "",/' testing/conf %if %{with docs} for l in doc/* ; do - %make_build -C $l html PYTHONPATH=%{pyproject_build_lib} + %make_build -C $l html PYTHONPATH="$(pwd)/src" done for f in README CHANGELOG CONTRIBUTING ; do rst2html ${f}.rst > ${f}.html