From a6fc09c4b8ea57dc410f98f5bb9a28bb07e7aa5d Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 19 2018 11:54:46 +0000 Subject: Run python3 tests with python3, python2 with python2 --- diff --git a/python-os-win.spec b/python-os-win.spec index 817f38a..361321a 100644 --- a/python-os-win.spec +++ b/python-os-win.spec @@ -129,10 +129,10 @@ rm -rf html/.{doctrees,buildinfo} %check %if 0%{?with_python3} -%{__python3} setup.py test +PYTHON=%{__python3} %{__python3} setup.py test rm -rf .testrepository %endif -%{__python2} setup.py test +PYTHON=%{__python2} %{__python2} setup.py test %files -n python2-%{pypi_name}