[packages/python-sphinxcontrib-asyncio] - use sphinx-build-2 for docs (not compatible with Sphinx 4)

qboosh qboosh at pld-linux.org
Mon Mar 28 19:59:27 CEST 2022


commit f501600c9df9971c19f509290e5a911793eb544a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 28 19:59:22 2022 +0200

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-asyncio.git/commitdiff/f501600c9df9971c19f509290e5a911793eb544a



More information about the pld-cvs-commit mailing list