Disable Python 2 in ELN

This commit is contained in:
Miro Hrončok 2020-11-25 10:39:22 +01:00
parent 5590e818a6
commit c3571d40fd

View File

@ -1,12 +1,17 @@
# Prepared for Python 2 removal
# There is an exception to ship python2-pytz on Fedora, for trac:
# https://pagure.io/fesco/issue/2260
%if 0%{?fedora}
%bcond_without python2
%else
%bcond_with python2
%endif
# Allow build without test
%bcond_without tests
Name: pytz
Version: 2020.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: World Timezone Definitions for Python
License: MIT
@ -101,6 +106,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%changelog
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 2020.4-2
- Disable Python 2 in ELN
* Mon Nov 02 2020 Gwyn Ciesla <gwync@protonmail.com> - 2020.4-1
- 2020.4