Enable tests
This commit is contained in:
parent
9474d2a737
commit
8a88823895
@ -6,7 +6,7 @@
|
||||
|
||||
Name: pytz
|
||||
Version: 2016.10
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: World Timezone Definitions for Python
|
||||
|
||||
Group: Development/Languages
|
||||
@ -37,7 +37,7 @@ Summary: World Timezone Definitions for Python
|
||||
Group: Development/Languages
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
#BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest
|
||||
Requires: tzdata
|
||||
|
||||
%description -n python3-%{name}
|
||||
@ -76,7 +76,7 @@ rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v
|
||||
%if 0%{?with_python3}
|
||||
#PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
||||
%endif
|
||||
|
||||
|
||||
@ -96,6 +96,9 @@ PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v
|
||||
|
||||
|
||||
%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
|
||||
- Rebuild for Python 3.6
|
||||
- Disable python3 tests for now
|
||||
|
Loading…
Reference in New Issue
Block a user