From 6822ef00ad1b64a81ddd64c1728e49fa309d7603 Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Jun 28 2023 09:20:44 +0000 Subject: Add soft dependency on tzdata, which might not be available on the system. https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata --- diff --git a/rubygem-tzinfo.spec b/rubygem-tzinfo.spec index 7a2d423..0918d7a 100644 --- a/rubygem-tzinfo.spec +++ b/rubygem-tzinfo.spec @@ -12,7 +12,10 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/tzinfo/tzinfo.git --no-checkout # cd tzinfo && git archive -v -o tzinfo-2.0.6-tests.txz v2.0.6 test/ Source1: %{gem_name}-%{version}-tests.txz - +# tzdata might not be available on the system, but users still might prefer +# to use tzinfo-data gem (although it is not available in Fedora). +# https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata +Recommends: tzdata BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby @@ -83,6 +86,7 @@ popd %changelog * Tue Jun 27 2023 Vít Ondruch - 2.0.6-1 +- Add soft dependency on tzdata, which might not be available on the system. - Update to TZInfo 2.0.6. Resolves: rhbz#2165247