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