# Run optional test %if ! (0%{?rhel}) %bcond_without perl_DateTime_TimeZone_Tzfile_enables_optional_test %else %bcond_with perl_DateTime_TimeZone_Tzfile_enables_optional_test %endif Name: perl-DateTime-TimeZone-Tzfile Version: 0.011 Release: 21%{?dist} Summary: Tzfile (zoneinfo) timezone files License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/DateTime-TimeZone-Tzfile Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/DateTime-TimeZone-Tzfile-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Module::Build) # Runtime BuildRequires: perl(Carp) BuildRequires: perl(Date::ISO8601) BuildRequires: perl(DateTime::TimeZone::SystemV) >= 0.009 BuildRequires: perl(integer) BuildRequires: perl(IO::File) >= 1.13 BuildRequires: perl(IO::Handle) >= 1.08 BuildRequires: perl(Params::Classify) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Test::More) %if %{with perl_DateTime_TimeZone_Tzfile_enables_optional_test} # Optional Tests BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) %endif # Dependencies Requires: perl(DateTime::TimeZone::SystemV) >= 0.009 %description An instance of this class represents a timezone that was encoded in a file in the tzfile(5) format. These can express arbitrary patterns of offsets from Universal Time, changing over time. Offsets and change times are limited to a resolution of one second. This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects. %prep %setup -q -n DateTime-TimeZone-Tzfile-%{version} %build perl Build.PL --installdirs=vendor ./Build %install ./Build install --destdir=%{buildroot} --create_packlist=0 %{_fixperms} -c %{buildroot} %check ./Build test %files %doc Changes README %{perl_vendorlib}/DateTime/ %{_mandir}/man3/DateTime::TimeZone::Tzfile.3* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.011-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.011-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.011-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.011-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.011-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.011-16 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.011-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.011-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.011-13 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.011-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.011-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.011-10 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.011-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.011-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.011-7 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.011-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.011-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.011-4 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.011-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.011-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jul 25 2017 Paul Howarth - 0.011-1 - Update to 0.011 - No longer include a Makefile.PL in the distribution - In documentation, use four-column indentation for all verbatim material - In META.{yml,json}, point to public bug tracker - In META.json, specify type of public repository - Drop redundant %%{?perl_default_filter} - Make %%files list more explicit * Mon Jun 05 2017 Jitka Plesnikova - 0.010-7 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.010-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.010-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.010-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.010-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.010-2 - Perl 5.22 rebuild * Tue Nov 18 2014 Petr Ĺ abata - 0.010-1 - 0.010 bump * Thu Aug 28 2014 Jitka Plesnikova - 0.007-9 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.007-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.007-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 21 2013 Petr Pisar - 0.007-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.007-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.007-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 0.007-3 - Perl 5.16 rebuild * Sun Mar 11 2012 Iain Arnell 0.007-2 - drop perl(constant) build dep * Sun Mar 11 2012 Iain Arnell 0.007-1 - update to latest upstream version - drop Date::JD dependency * Fri Jan 13 2012 Fedora Release Engineering - 0.006-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Oct 27 2011 Iain Arnell 0.006-1 - Specfile autogenerated by cpanspec 1.78.