From: Jakub Bogusz Date: Sun, 6 Mar 2022 16:31:04 +0000 (+0100) Subject: - switched doc to python2, so python3 is not involved here X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=95d7268092988ef9eb8ec482896ff84266885c8f;p=packages%2Fpython-mock.git - switched doc to python2, so python3 is not involved here --- 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