diff --git a/python-webencodings.spec b/python-webencodings.spec index 6e5b93b..05241da 100644 --- a/python-webencodings.spec +++ b/python-webencodings.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 0.5.1 -Release: 1%{?dist} +Release: 2%{?dist} BuildArch: noarch License: BSD @@ -63,7 +63,7 @@ Requires: python3 %py2_build %py3_build -sphinx-build-3 docs docs/_build +PYTHONPATH=. sphinx-build-3 docs docs/_build # Remove unneeded build artifacts. rm -rf docs/_build/.buildinfo @@ -100,5 +100,8 @@ py.test-3 %changelog +* Tue Jul 25 2017 Randy Barlow - 0.5.1-2 +- Set the PYTHONPATH when building docs so the library is found. + * Tue Jul 25 2017 Randy Barlow - 0.5.1-1 - Initial release