Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/pytz.git#c25108188eaf4cbe08895ed5c7387966769a7749
This commit is contained in:
DistroBaker 2020-12-21 15:34:36 +00:00
parent ddc3351714
commit 6bab110bba

View File

@ -1,6 +1,7 @@
# There is an exception to ship python2-pytz on Fedora, for trac:
# https://pagure.io/fesco/issue/2260
%if 0%{?fedora}
# Trac has been switched to Python 3 in Fedora 34
%if 0%{?fedora} && 0%{?fedora} < 34
%bcond_without python2
%else
%bcond_with python2
@ -11,7 +12,7 @@
Name: pytz
Version: 2020.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: World Timezone Definitions for Python
License: MIT
@ -106,6 +107,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%changelog
* Mon Dec 21 2020 Miro Hrončok <mhroncok@redhat.com> - 2020.4-3
- Disable Python 2 in Fedora 34+
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 2020.4-2
- Disable Python 2 in ELN