]> git.pld-linux.org Git - packages/python-mock.git/blobdiff - python-mock.spec
- fix building docs without installer package
[packages/python-mock.git] / python-mock.spec
index 34f7acad29d1cb5252d3638cf34183e10e45d47f..ab0c480eaa53e0f323884d8c74c3fab6d7d8cd00 100644 (file)
@@ -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
 
This page took 0.105768 seconds and 4 git commands to generate.