From d0fbfcfc55729d376dc5cd6774e00af46c173f10 Mon Sep 17 00:00:00 2001 From: Jeroen van Meeuwen (Kolab Systems) Date: Mar 13 2019 13:42:04 +0000 Subject: Python 3 for EL8+, use version suffix for Python 2 nosetests --- diff --git a/python-txzmq.spec b/python-txzmq.spec index ea0e48b..345be49 100644 --- a/python-txzmq.spec +++ b/python-txzmq.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 8 %global with_python3 1 %endif @@ -88,7 +88,7 @@ cp -a . %{py3dir} %endif %check -PYTHONPATH=$(pwd) nosetests +PYTHONPATH=$(pwd) nosetests-%{python2_version} %if 0%{?with_python3} pushd %{py3dir}