Set the PYTHONPATH when building the docs.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
epel9
Randy Barlow 8 years ago
parent ce9858b4ca
commit 13257b0ea4

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

Loading…
Cancel
Save