From b7e6ca08eb1327430561c535ec6161e53d61aef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 14 Nov 2020 18:30:57 +0100 Subject: [PATCH] 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. --- python3.10.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python3.10.spec b/python3.10.spec index c5fc582..4001cf6 100644 --- a/python3.10.spec +++ b/python3.10.spec @@ -204,6 +204,7 @@ BuildRequires: tar BuildRequires: tcl-devel BuildRequires: tix-devel BuildRequires: tk-devel +BuildRequires: tzdata %if %{with valgrind} BuildRequires: valgrind-devel @@ -447,6 +448,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 + %description -n %{pkgname}-libs 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} %endif +# The zoneinfo module needs tzdata +Requires: tzdata + # The description for the flat package (SRPM and built) %description Python %{pybasever} package for developers.