summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Barlow <randy@electronsweatshop.com>2017-07-25 12:59:07 -0400
committerRandy Barlow <randy@electronsweatshop.com>2017-07-25 12:59:07 -0400
commit13257b0ea44c3ba916ef19acec3a37f83ddd9725 (patch)
tree47957fd4e54296fdd7ae90171c3214b83b4b67cd
parentce9858b4cad651bbc791e4cda0005503e07a23ce (diff)
downloadpython-webencodings-13257b0ea44c3ba916ef19acec3a37f83ddd9725.zip
python-webencodings-13257b0ea44c3ba916ef19acec3a37f83ddd9725.tar.gz
python-webencodings-13257b0ea44c3ba916ef19acec3a37f83ddd9725.tar.xz
Set the PYTHONPATH when building the docs.f26
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
-rw-r--r--python-webencodings.spec7
1 files changed, 5 insertions, 2 deletions
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 <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