#2 Python 3 for EL8+, use version suffix for Python 2 nosetests
Merged 5 years ago by kevin. Opened 5 years ago by kanarip.
rpms/ kanarip/python-txzmq epel8  into  master

Python 3 for EL8+, use version suffix for Python 2 nosetests
Jeroen van Meeuwen (Kolab Systems) • 5 years ago  
file modified
+2 -2
@@ -1,4 +1,4 @@ 

- %if 0%{?fedora}

+ %if 0%{?fedora} || 0%{?rhel} >= 8

  %global with_python3 1

  %endif

  
@@ -88,7 +88,7 @@ 

  %endif

  

  %check

- PYTHONPATH=$(pwd) nosetests

+ PYTHONPATH=$(pwd) nosetests-%{python2_version}

  

  %if 0%{?with_python3}

  pushd %{py3dir}

no initial comment

Pull-Request has been merged by kevin

5 years ago