[packages/python-zope.security] - disable python3 here, switched docs to python2

qboosh qboosh at pld-linux.org
Sat May 10 09:16:29 CEST 2025


commit 74c7d6ffb37dc74d63c7b5f68fff31b90dec80e9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 10 08:02:42 2025 +0200

    - disable python3 here, switched docs to python2

 python-zope.security.spec | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/python-zope.security.spec b/python-zope.security.spec
index 40eef4b..a8066d7 100644
--- a/python-zope.security.spec
+++ b/python-zope.security.spec
@@ -3,7 +3,7 @@
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-zope.security.spec)
 
 %define module	zope.security
 Summary:	Zope Security framework
@@ -58,14 +58,14 @@ BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	sed >= 4.0
 %if %{with doc}
-BuildRequires:	python3-repoze.sphinx.autointerface
-BuildRequires:	python3-zope.component
-BuildRequires:	python3-zope.i18nmessageid
-BuildRequires:	python3-zope.interface
-BuildRequires:	python3-zope.location
-BuildRequires:	python3-zope.proxy >= 4.3.0
-BuildRequires:	python3-zope.schema >= 4.2.0
-BuildRequires:	sphinx-pdg-3
+BuildRequires:	python-repoze.sphinx.autointerface
+BuildRequires:	python-zope.component
+BuildRequires:	python-zope.i18nmessageid
+BuildRequires:	python-zope.interface
+BuildRequires:	python-zope.location
+BuildRequires:	python-zope.proxy >= 4.3.0
+BuildRequires:	python-zope.schema >= 4.2.0
+BuildRequires:	sphinx-pdg-2
 %endif
 Requires:	python-modules >= 1:2.7
 Obsoletes:	Zope-Proxy < 3.5.0
@@ -132,7 +132,7 @@ zope-testrunner-3 --test-path=src -v
 %if %{with doc}
 PYTHONPATH=$(pwd)/src \
 %{__make} -C docs html \
-	SPHINXBUILD=sphinx-build-3
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.security.git/commitdiff/74c7d6ffb37dc74d63c7b5f68fff31b90dec80e9



More information about the pld-cvs-commit mailing list