From 020dbd3efe6bfb31bcc33c34d6e486cd8219d139 Mon Sep 17 00:00:00 2001 From: Robert Kuska Date: Nov 06 2015 09:22:25 +0000 Subject: Enable tests again --- diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index e6a275a..5411a06 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -76,12 +76,12 @@ rm -rf *.egg-info %py2_install -#%check -#PYTHONPATH=%{buildroot}%{python2_sitelib}:$PWD/tests py.test-%{python2_version} -vv -# -#%if 0%{?with_python3} -#PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv -#%endif # with_python3 +%check +PYTHONPATH=%{buildroot}%{python2_sitelib}:$PWD/tests py.test-%{python2_version} -vv + +%if 0%{?with_python3} +PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv +%endif # with_python3 %files