From f04f7c22541be910b4dd5ebea672e6c1b34f1f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 5 Jun 2018 21:25:00 +0200 Subject: [PATCH] Set correct PYTHONPATH for docs build --- pytest.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.spec b/pytest.spec index a49c7d9..5b6493e 100644 --- a/pytest.spec +++ b/pytest.spec @@ -127,7 +127,7 @@ py.test provides simple, yet powerful testing for Python. %if %{with docs} for l in doc/* ; do - make -C $l html PYTHONPATH=$(pwd) SPHINXBUILD=%{_bindir}/sphinx-build-3 + make -C $l html PYTHONPATH=$(pwd)/src SPHINXBUILD=%{_bindir}/sphinx-build-3 done for f in README CHANGELOG CONTRIBUTING ; do rst2html ${f}.rst > ${f}.html