[packages/python-zope.component] - python3 BRs

qboosh qboosh at pld-linux.org
Mon Oct 28 18:24:25 CET 2019


commit bf84847c3291d555e2ab7c2ad9537246e57ed9a3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 28 18:24:04 2019 +0100

    - python3 BRs

 python-zope.component.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/python-zope.component.spec b/python-zope.component.spec
index b2fb7bc..224edc8 100644
--- a/python-zope.component.spec
+++ b/python-zope.component.spec
@@ -13,9 +13,16 @@ License:	ZPL 2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz
 # Source0-md5:	dc43aca08995751159e4b0f98f5afc5a
+%if %{with python2}
 BuildRequires:	python >= 1:2.5
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	python-setuptools
+%endif
+%if %{with python3}
+BuildRequires:	python3 >= 1:3.2
+BuildRequires:	python3-devel >= 1:3.2
+BuildRequires:	python3-setuptools
+%endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.710
 Requires:	python-zope.deferredimport
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.component.git/commitdiff/bf84847c3291d555e2ab7c2ad9537246e57ed9a3



More information about the pld-cvs-commit mailing list