diff --git a/python3.9.spec b/python3.9.spec index f4a2049..9dff770 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -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.