[packages/python-greenlet] - use py3_ver macro

arekm arekm at pld-linux.org
Tue Sep 15 14:03:18 CEST 2015


commit b5e21f1445c8a59113ec79a3dc65dbb47718cd19
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 15 14:03:09 2015 +0200

    - use py3_ver macro

 python-greenlet.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-greenlet.spec b/python-greenlet.spec
index 28bf9fc..84cf5e7 100644
--- a/python-greenlet.spec
+++ b/python-greenlet.spec
@@ -25,8 +25,7 @@ BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 %endif
 %if %{with python3}
-BuildRequires:	python3-2to3 >= 1:3.5
-BuildRequires:	python3-2to3 < 1:3.6
+BuildRequires:	python3-2to3
 BuildRequires:	python3-devel
 BuildRequires:	python3-setuptools
 BuildRequires:	python3-modules
@@ -93,7 +92,7 @@ CFLAGS="%{rpmcflags}" \
 %if %{with tests}
 # Run the upstream benchmarking suite to further exercise the code:
 mkdir -p benchmarks-3
-2to3-3.5 -o benchmarks-3 -n -w --no-diffs benchmarks
+2to3-%{py3_ver} -o benchmarks-3 -n -w --no-diffs benchmarks
 PYTHONPATH=$(echo $(pwd)/build/lib.*-3.?) %{__python3} benchmarks-3/chain.py
 %endif
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-greenlet.git/commitdiff/b5e21f1445c8a59113ec79a3dc65dbb47718cd19



More information about the pld-cvs-commit mailing list