Enable tests

This commit is contained in:
Charalampos Stratakis 2016-12-13 21:07:38 +01:00
parent 9e08cbc636
commit 66a4d17cd9

View File

@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 1.10.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Python 2 and 3 compatibility utilities
License: MIT
@ -37,8 +37,8 @@ Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# Testing
#BuildRequires: python3-pytest
#BuildRequires: python3-tkinter
BuildRequires: python3-pytest
BuildRequires: python3-tkinter
%description -n python3-%{modname} %{_description}
@ -57,7 +57,7 @@ Python 3 version.
%check
py.test-2 -rfsxX test_six.py
#py.test-3 -rfsxX test_six.py
py.test-3 -rfsxX test_six.py
%files -n python2-%{modname}
%license LICENSE
@ -73,6 +73,9 @@ py.test-2 -rfsxX test_six.py
%{python3_sitelib}/__pycache__/%{modname}.*
%changelog
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.10.0-6
- Enable tests
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.10.0-5
- Rebuild for Python 3.6
- Disable python3 tests