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