]> git.pld-linux.org Git - packages/python-mock.git/commitdiff
- switched doc to python2, so python3 is not involved here master
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 6 Mar 2022 16:31:04 +0000 (17:31 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 6 Mar 2022 16:31:04 +0000 (17:31 +0100)
python-mock.spec

index 8087246d18a81928f3d09bafb0f0d0faa821cf59..9eaa58a91e4fb1ac05f517a8f542ba73e81afaa1 100644 (file)
@@ -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
This page took 0.24919 seconds and 4 git commands to generate.