From f501600c9df9971c19f509290e5a911793eb544a Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 28 Mar 2022 19:59:22 +0200 Subject: [PATCH] - use sphinx-build-2 for docs (not compatible with Sphinx 4) --- python-sphinxcontrib-asyncio.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.44.0