2017-12-08 14:06:33 +00:00
|
|
|
# Run optional test
|
2018-04-05 10:19:45 +00:00
|
|
|
%if ! (0%{?rhel})
|
2017-12-08 14:06:33 +00:00
|
|
|
%bcond_without perl_DateTime_TimeZone_Tzfile_enables_optional_test
|
2018-04-05 10:19:45 +00:00
|
|
|
%else
|
|
|
|
%bcond_with perl_DateTime_TimeZone_Tzfile_enables_optional_test
|
|
|
|
%endif
|
2017-12-08 14:06:33 +00:00
|
|
|
|
2011-11-16 16:18:34 +00:00
|
|
|
Name: perl-DateTime-TimeZone-Tzfile
|
2017-07-25 11:37:04 +00:00
|
|
|
Version: 0.011
|
2022-07-22 05:01:52 +00:00
|
|
|
Release: 17%{?dist}
|
2011-11-16 16:18:34 +00:00
|
|
|
Summary: Tzfile (zoneinfo) timezone files
|
|
|
|
License: GPL+ or Artistic
|
2018-06-04 12:36:41 +00:00
|
|
|
URL: https://metacpan.org/release/DateTime-TimeZone-Tzfile
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/DateTime-TimeZone-Tzfile-%{version}.tar.gz
|
2011-11-16 16:18:34 +00:00
|
|
|
BuildArch: noarch
|
2014-11-18 18:04:13 +00:00
|
|
|
# Build
|
2017-07-25 11:37:04 +00:00
|
|
|
BuildRequires: coreutils
|
2016-06-24 08:15:17 +00:00
|
|
|
BuildRequires: perl-generators
|
2017-07-25 11:37:04 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2014-11-18 18:04:13 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
# Runtime
|
2011-11-16 16:18:34 +00:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Date::ISO8601)
|
2014-11-18 18:04:13 +00:00
|
|
|
BuildRequires: perl(DateTime::TimeZone::SystemV) >= 0.009
|
2011-11-16 16:18:34 +00:00
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(IO::File) >= 1.13
|
|
|
|
BuildRequires: perl(IO::Handle) >= 1.08
|
|
|
|
BuildRequires: perl(Params::Classify)
|
2017-07-25 11:37:04 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
2011-11-16 16:18:34 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2017-12-08 14:06:33 +00:00
|
|
|
%if %{with perl_DateTime_TimeZone_Tzfile_enables_optional_test}
|
2017-07-25 11:37:04 +00:00
|
|
|
# Optional Tests
|
2014-11-18 18:04:13 +00:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
2011-11-16 16:18:34 +00:00
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
2017-12-08 14:06:33 +00:00
|
|
|
%endif
|
2017-07-25 11:37:04 +00:00
|
|
|
# Dependencies
|
2014-11-18 18:04:13 +00:00
|
|
|
Requires: perl(DateTime::TimeZone::SystemV) >= 0.009
|
2011-11-16 16:18:34 +00:00
|
|
|
|
|
|
|
%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
|
2017-07-25 11:37:04 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
2011-11-16 16:18:34 +00:00
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
2017-07-25 11:37:04 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
%{_fixperms} -c %{buildroot}
|
2011-11-16 16:18:34 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
2017-07-25 11:37:04 +00:00
|
|
|
%{perl_vendorlib}/DateTime/
|
|
|
|
%{_mandir}/man3/DateTime::TimeZone::Tzfile.3*
|
2011-11-16 16:18:34 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-07-22 05:01:52 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-05-31 20:15:31 +00:00
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-16
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
2022-01-21 01:03:07 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 19:44:43 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-21 21:33:45 +00:00
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-13
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
2021-01-27 00:48:15 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 15:05:24 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-23 10:20:59 +00:00
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-10
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
2020-01-29 23:30:16 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 02:18:40 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-31 16:08:29 +00:00
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-7
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
2019-02-01 20:05:37 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 16:56:42 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-28 12:00:51 +00:00
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.011-4
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 20:32:15 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 03:32:43 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.011-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-25 11:37:04 +00:00
|
|
|
* Tue Jul 25 2017 Paul Howarth <paul@city-fan.org> - 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
|
|
|
|
|
2017-06-05 01:49:52 +00:00
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-7
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 02:41:17 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-15 16:15:24 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-5
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 13:16:34 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 02:38:35 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.010-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-06 15:59:51 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-11-18 18:04:13 +00:00
|
|
|
* Tue Nov 18 2014 Petr Šabata <contyk@redhat.com> - 0.010-1
|
|
|
|
- 0.010 bump
|
|
|
|
|
2014-08-28 01:16:58 +00:00
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.007-9
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 03:17:17 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 19:53:55 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-21 11:07:07 +00:00
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.007-6
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 11:54:25 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 14:39:13 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.007-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-13 15:34:48 +00:00
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.007-3
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-03-11 15:14:10 +00:00
|
|
|
* Sun Mar 11 2012 Iain Arnell <iarnell@gmail.com> 0.007-2
|
|
|
|
- drop perl(constant) build dep
|
|
|
|
|
2012-03-11 14:54:36 +00:00
|
|
|
* Sun Mar 11 2012 Iain Arnell <iarnell@gmail.com> 0.007-1
|
|
|
|
- update to latest upstream version
|
|
|
|
- drop Date::JD dependency
|
|
|
|
|
2012-01-13 13:27:05 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-16 16:18:34 +00:00
|
|
|
* Thu Oct 27 2011 Iain Arnell <iarnell@gmail.com> 0.006-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|