|
|
|
@ -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
|
|
|
|
|