Set the PYTHONPATH when building the docs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
ce9858b4ca
commit
13257b0ea4
@ -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 <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
|
||||
- Initial release
|
||||
|
Loading…
Reference in New Issue
Block a user