From d5f3d5fd893a5f8614bdadefb8ea6f88de7035ad Mon Sep 17 00:00:00 2001 From: Jan ONDREJ (SAL) Date: Jan 09 2019 06:31:22 +0000 Subject: Disable python2 nosetests. --- diff --git a/python-xlrd.spec b/python-xlrd.spec index fabd896..1cdb398 100644 --- a/python-xlrd.spec +++ b/python-xlrd.spec @@ -101,7 +101,9 @@ rm -rf $RPM_BUILD_ROOT%{_bindir}/runxlrd.py* \ $RPM_BUILD_ROOT/%{python3_sitelib}/xlrd/examples %check +%if %{?build_python2} == 1 /usr/bin/nosetests +%endif /usr/bin/nosetests-%{python3_version} %if %{?build_python2} == 1