Enable tests

This commit is contained in:
Charalampos Stratakis 2016-12-13 20:10:09 +01:00
parent 9474d2a737
commit 8a88823895

View File

@ -6,7 +6,7 @@
Name: pytz Name: pytz
Version: 2016.10 Version: 2016.10
Release: 2%{?dist} Release: 3%{?dist}
Summary: World Timezone Definitions for Python Summary: World Timezone Definitions for Python
Group: Development/Languages Group: Development/Languages
@ -37,7 +37,7 @@ Summary: World Timezone Definitions for Python
Group: Development/Languages Group: Development/Languages
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
#BuildRequires: python3-pytest BuildRequires: python3-pytest
Requires: tzdata Requires: tzdata
%description -n python3-%{name} %description -n python3-%{name}
@ -76,7 +76,7 @@ rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
%check %check
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v
%if 0%{?with_python3} %if 0%{?with_python3}
#PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
%endif %endif
@ -96,6 +96,9 @@ PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v
%changelog %changelog
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 2016.10-3
- Enable tests
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2016.10-2 * Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2016.10-2
- Rebuild for Python 3.6 - Rebuild for Python 3.6
- Disable python3 tests for now - Disable python3 tests for now