[packages/python-mock] - switched doc to python2, so python3 is not involved here

qboosh qboosh at pld-linux.org
Sun Mar 6 17:29:03 CET 2022


commit 95d7268092988ef9eb8ec482896ff84266885c8f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 6 17:31:04 2022 +0100

    - switched doc to python2, so python3 is not involved here

 python-mock.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-mock.spec b/python-mock.spec
index 8087246..9eaa58a 100644
--- a/python-mock.spec
+++ b/python-mock.spec
@@ -42,8 +42,8 @@ BuildRequires:	python3-six >= 1.9
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	python3-six >= 1.9
-BuildRequires:	sphinx-pdg-3
+BuildRequires:	python-six >= 1.9
+BuildRequires:	sphinx-pdg-2
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -145,8 +145,8 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %endif
 
 %if %{with doc}
-PYTHONPATH=. sphinx-build-3 -b html docs html
-%{__rm} -r html/{_sources,.doctrees,.buildinfo}
+PYTHONPATH=. \
+sphinx-build-2 -b html docs html
 %endif
 
 %install
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list