[packages/python-cattrs] - switched doc to python2, so python3 is not involved here

qboosh qboosh at pld-linux.org
Sat Mar 5 10:41:45 CET 2022


commit c57d565267f7e6a872a32524dd3d98c7738dd1b5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 5 10:43:38 2022 +0100

    - switched doc to python2, so python3 is not involved here

 python-cattrs.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index 4620355..8025b53 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -40,7 +40,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
 BuildArch:	noarch
@@ -109,7 +109,8 @@ Dokumentacja API modułu Pythona cattrs.
 
 %if %{with doc}
 PYTHONPATH=$(pwd)/src \
-%{__make} -C docs html
+%{__make} -C docs html \
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cattrs.git/commitdiff/c57d565267f7e6a872a32524dd3d98c7738dd1b5



More information about the pld-cvs-commit mailing list