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 18:30:57 +01:00
parent 8e77406a59
commit b7e6ca08eb

View File

@ -204,6 +204,7 @@ BuildRequires: tar
BuildRequires: tcl-devel BuildRequires: tcl-devel
BuildRequires: tix-devel BuildRequires: tix-devel
BuildRequires: tk-devel BuildRequires: tk-devel
BuildRequires: tzdata
%if %{with valgrind} %if %{with valgrind}
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
@ -447,6 +448,9 @@ Recommends: %{pkgname}%{?_isa} = %{version}-%{release}
# we recommend it when tk is already installed (for better UX) # we recommend it when tk is already installed (for better UX)
Recommends: (%{pkgname}-tkinter%{?_isa} = %{version}-%{release} if tk%{?_isa}) Recommends: (%{pkgname}-tkinter%{?_isa} = %{version}-%{release} if tk%{?_isa})
# The zoneinfo module needs tzdata
Requires: tzdata
%description -n %{pkgname}-libs %description -n %{pkgname}-libs
This package contains runtime libraries for use by Python: This package contains runtime libraries for use by Python:
@ -593,6 +597,9 @@ Provides: bundled(python3dist(pip)) = %{pip_version}
Provides: bundled(python3dist(setuptools)) = %{setuptools_version} Provides: bundled(python3dist(setuptools)) = %{setuptools_version}
%endif %endif
# The zoneinfo module needs tzdata
Requires: tzdata
# The description for the flat package (SRPM and built) # The description for the flat package (SRPM and built)
%description %description
Python %{pybasever} package for developers. Python %{pybasever} package for developers.