From: Jakub Bogusz Date: Mon, 28 Mar 2022 17:59:22 +0000 (+0200) Subject: - use sphinx-build-2 for docs (not compatible with Sphinx 4) X-Git-Tag: auto/th/python-sphinxcontrib-asyncio-0.2.0-5~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=f501600c9df9971c19f509290e5a911793eb544a;p=packages%2Fpython-sphinxcontrib-asyncio.git - use sphinx-build-2 for docs (not compatible with Sphinx 4) --- diff --git a/python-sphinxcontrib-asyncio.spec b/python-sphinxcontrib-asyncio.spec index 607f150..c10103f 100644 --- a/python-sphinxcontrib-asyncio.spec +++ b/python-sphinxcontrib-asyncio.spec @@ -36,7 +36,7 @@ BuildRequires: python3-pytest BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.714 %if %{with doc} -BuildRequires: sphinx-pdg +BuildRequires: sphinx-pdg-2 %endif Requires: python-modules >= 1:2.7 Requires: python-sphinxcontrib @@ -97,7 +97,8 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %if %{with doc} PYTHONPATH=$(pwd) \ -%{__make} -C docs html +%{__make} -C docs html \ + SPHINXBUILD=sphinx-build-2 %endif %install