]> git.pld-linux.org Git - packages/python-greenlet.git/commitdiff
- use py3_ver macro
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 15 Sep 2015 12:03:09 +0000 (14:03 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 15 Sep 2015 12:03:09 +0000 (14:03 +0200)
python-greenlet.spec

index 28bf9fc8c24888307e3fabcd70907ab61ea533b2..84cf5e7aff67277d2e9bfe77293d263c3335636b 100644 (file)
@@ -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
This page took 0.087812 seconds and 4 git commands to generate.