[packages/python-mock] - fix building docs without installer package - rel 2

baggins baggins at pld-linux.org
Sat Apr 15 17:16:03 CEST 2017


commit efa3d2e5ba8a8fede36dfbe6bc9b49c3e6ab0f3a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 15 17:15:42 2017 +0200

    - fix building docs without installer package
    - rel 2

 python-mock.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-mock.spec b/python-mock.spec
index 34f7aca..ab0c480 100644
--- a/python-mock.spec
+++ b/python-mock.spec
@@ -10,7 +10,7 @@ Summary:	A Python Mocking and Patching Library for Testing
 Summary(pl.UTF-8):	Biblioteka Pythona do testów przy użyciu techniki "mock" i łatania
 Name:		python-%{module}
 Version:	2.0.0
-Release:	1
+Release:	2
 License:	BSD-like
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.python.org/simple/mock/
@@ -125,7 +125,7 @@ chmod a-w AUTHORS ChangeLog
 %endif
 
 %if %{with doc}
-sphinx-build -b html docs html
+PYTHONPATH=. sphinx-build -b html docs html
 %{__rm} -r html/{_sources,.doctrees,.buildinfo}
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-mock.git/commitdiff/efa3d2e5ba8a8fede36dfbe6bc9b49c3e6ab0f3a



More information about the pld-cvs-commit mailing list