Add explicit requirement on tzdata (needed for zoneinfo)

See https://twitter.com/pganssle/status/1327344516475531272

Not bumping a release, tzdata is pulled in transitively, so the impact is minimal.
This commit is contained in:
Miro Hrončok 2020-11-14 17:58:00 +00:00
parent 505b395c0b
commit 57c21a29ac

View File

@ -237,6 +237,7 @@ BuildRequires: tar
BuildRequires: tcl-devel
BuildRequires: tix-devel
BuildRequires: tk-devel
BuildRequires: tzdata
%if %{with valgrind}
BuildRequires: valgrind-devel
@ -515,6 +516,9 @@ Recommends: %{pkgname}%{?_isa} = %{version}-%{release}
# we recommend it when tk is already installed (for better UX)
Recommends: (%{pkgname}-tkinter%{?_isa} = %{version}-%{release} if tk%{?_isa})
# The zoneinfo module needs tzdata
Requires: tzdata
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
# In Fedora 31, several "unversioned" files like /usr/bin/pydoc and all the
# "unversioned" provides were moved from python2 to python3.
@ -694,6 +698,9 @@ Provides: bundled(python3dist(pip)) = %{pip_version}
Provides: bundled(python3dist(setuptools)) = %{setuptools_version}
%endif
# The zoneinfo module needs tzdata
Requires: tzdata
# The description for the flat package (SRPM and built)
%description
Python %{pybasever} package for developers.