2011-08-18 15:15:09 +00:00
|
|
|
Name: perl-DateTime-TimeZone
|
2015-08-12 09:20:24 +00:00
|
|
|
Version: 1.93
|
2015-06-15 16:07:19 +00:00
|
|
|
Release: 1%{?dist}
|
2011-08-18 15:15:09 +00:00
|
|
|
Summary: Time zone object base class and factory
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/DateTime-TimeZone/
|
|
|
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz
|
2014-09-02 15:15:59 +00:00
|
|
|
# Parse local time zone definition from /etc/localtime as before giving up,
|
|
|
|
# bug #1135981, CPAN RT#55029
|
2015-01-29 07:59:39 +00:00
|
|
|
Patch0: DateTime-TimeZone-1.83-Parse-etc-localtime-by-DateTime-TimeZone-Tzfile.patch
|
2011-08-18 15:15:09 +00:00
|
|
|
BuildArch: noarch
|
2015-01-08 09:16:40 +00:00
|
|
|
# Build
|
2015-06-15 16:07:19 +00:00
|
|
|
BuildRequires: make
|
2013-06-26 10:14:36 +00:00
|
|
|
BuildRequires: perl
|
2015-03-23 14:24:13 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
2015-01-08 09:16:40 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Runtime
|
2011-08-18 15:15:09 +00:00
|
|
|
BuildRequires: perl(Class::Singleton) >= 1.03
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Cwd) >= 3
|
2015-05-15 08:41:15 +00:00
|
|
|
# Unused BuildRequires: perl(DateTime)
|
|
|
|
# Unused BuildRequires: perl(DateTime::Duration)
|
2015-01-08 09:16:40 +00:00
|
|
|
# Unused BuildRequires: perl(DateTime::TimeZone::Tzfile)
|
2013-06-26 10:14:36 +00:00
|
|
|
BuildRequires: perl(File::Basename)
|
2015-05-15 08:41:15 +00:00
|
|
|
# Unused BuildRequires: perl(File::Compare)
|
|
|
|
# Unused BuildRequires: perl(File::Find)
|
2011-08-18 15:15:09 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
2015-08-12 09:20:24 +00:00
|
|
|
# Unused BuildRequires: perl(List::Util) >= 1.33
|
2014-11-18 17:44:00 +00:00
|
|
|
BuildRequires: perl(Module::Runtime)
|
2011-08-18 15:15:09 +00:00
|
|
|
BuildRequires: perl(Params::Validate) >= 0.72
|
|
|
|
BuildRequires: perl(parent)
|
2015-01-08 09:16:40 +00:00
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(File::Copy)
|
2015-05-15 08:41:15 +00:00
|
|
|
BuildRequires: perl(File::Path)
|
2015-01-08 09:16:40 +00:00
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(overload)
|
2014-05-26 12:28:56 +00:00
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Sys::Hostname)
|
2014-02-10 10:34:40 +00:00
|
|
|
BuildRequires: perl(Test::Fatal)
|
2015-02-03 08:15:38 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2011-08-18 15:15:09 +00:00
|
|
|
BuildRequires: perl(Test::Output)
|
2014-02-10 10:34:40 +00:00
|
|
|
BuildRequires: perl(Test::Requires)
|
|
|
|
BuildRequires: perl(Test::Taint)
|
2015-05-15 08:41:15 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
2015-01-08 09:16:40 +00:00
|
|
|
Requires: perl(File::Basename)
|
|
|
|
Requires: perl(File::Compare)
|
|
|
|
Requires: perl(File::Find)
|
2014-09-02 15:15:59 +00:00
|
|
|
# Require optional DateTime::TimeZone::Tzfile to work in mock after tzdata
|
|
|
|
# upgrade, bug #1135981
|
|
|
|
Requires: perl(DateTime::TimeZone::Tzfile)
|
2011-08-18 15:15:09 +00:00
|
|
|
|
|
|
|
|
2015-01-16 08:32:01 +00:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Params::Validate|Class::Singleton)\\)$
|
2012-11-15 12:36:09 +00:00
|
|
|
|
2011-08-18 15:15:09 +00:00
|
|
|
# avoid circular dependencies - DateTime strictly requires DateTime::TimeZone
|
2015-05-15 08:41:15 +00:00
|
|
|
%if 0%{?perl_bootstrap}
|
2015-01-16 08:32:01 +00:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DateTime(::Duration)?\\)
|
2011-08-18 15:15:09 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
This class is the base class for all time zone objects. A time zone is
|
|
|
|
represented internally as a set of observances, each of which describes the
|
|
|
|
offset from GMT for a given time period.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-TimeZone-%{version}
|
2014-09-02 15:15:59 +00:00
|
|
|
%patch0 -p1
|
2011-08-18 15:15:09 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-23 14:24:13 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
2011-08-18 15:15:09 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
2015-02-03 08:15:38 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes README.md
|
2011-08-18 15:15:09 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2015-08-12 09:20:24 +00:00
|
|
|
* Wed Aug 12 2015 Petr Šabata <contyk@redhat.com> - 1.93-1
|
|
|
|
- 1.93 bump, tzdata updated
|
|
|
|
|
2015-06-23 09:28:04 +00:00
|
|
|
* Tue Jun 23 2015 Petr Šabata <contyk@redhat.com> - 1.92-1
|
|
|
|
- 1.92 bump
|
|
|
|
|
2015-06-18 02:38:17 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-15 16:07:19 +00:00
|
|
|
* Mon Jun 15 2015 Petr Šabata <contyk@redhat.com> - 1.91-1
|
|
|
|
- 1,91 bump, tzdata updated
|
|
|
|
|
2015-06-10 13:29:02 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-3
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-06 18:12:27 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.90-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-05-15 08:41:15 +00:00
|
|
|
* Fri May 15 2015 Petr Šabata <contyk@redhat.com> - 1.90-1
|
|
|
|
- 1.90 bump
|
|
|
|
- The `compile-all' test is now author-only, cutting the dep list somewhat
|
|
|
|
- Drop the old filters; I don't think we need them anymore
|
|
|
|
|
2015-04-27 09:14:14 +00:00
|
|
|
* Mon Apr 27 2015 Petr Šabata <contyk@redhat.com> - 1.88-1
|
|
|
|
- 1.88 bump, timezone data updated
|
|
|
|
|
2015-04-21 12:51:09 +00:00
|
|
|
* Tue Apr 21 2015 Petr Šabata <contyk@redhat.com> - 1.87-1
|
|
|
|
- 1.87 bump, timezone data updated
|
|
|
|
|
2015-03-23 14:24:13 +00:00
|
|
|
* Mon Mar 23 2015 Petr Šabata <contyk@redhat.com> - 1.86-1
|
|
|
|
- 1.86 bump, timezone data updated
|
|
|
|
|
2015-02-03 08:15:38 +00:00
|
|
|
* Tue Feb 03 2015 Petr Pisar <ppisar@redhat.com> - 1.85-1
|
|
|
|
- 1.85 bump
|
|
|
|
|
2015-01-29 07:59:39 +00:00
|
|
|
* Thu Jan 29 2015 Petr Pisar <ppisar@redhat.com> - 1.83-3
|
|
|
|
- Rebase patch to remove a spurious back-up file
|
|
|
|
|
2015-01-16 08:32:01 +00:00
|
|
|
* Fri Jan 16 2015 Petr Pisar <ppisar@redhat.com> - 1.83-2
|
|
|
|
- Fix dependency filtering
|
|
|
|
|
2015-01-08 09:16:40 +00:00
|
|
|
* Wed Jan 07 2015 Petr Šabata <contyk@redhat.com> - 1.83-1
|
|
|
|
- 1.83 bump, tests enhanced for 5.21
|
|
|
|
- Dropping F16-era conflicts
|
|
|
|
|
2014-11-25 10:35:29 +00:00
|
|
|
* Tue Nov 25 2014 Petr Šabata <contyk@redhat.com> - 1.81-1
|
|
|
|
- 1.81 bump, only removes Win32 tests
|
|
|
|
|
2014-11-18 17:44:00 +00:00
|
|
|
* Tue Nov 18 2014 Petr Šabata <contyk@redhat.com> - 1.80-1
|
|
|
|
- 1.80 bump, based on version 2014j of the Olson database
|
|
|
|
|
2014-11-03 11:47:47 +00:00
|
|
|
* Mon Nov 03 2014 Petr Pisar <ppisar@redhat.com> - 1.76-1
|
|
|
|
- 1.76 bump
|
|
|
|
|
2014-10-01 13:26:26 +00:00
|
|
|
* Wed Oct 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.75-1
|
|
|
|
- 1.75 bump
|
|
|
|
|
2014-09-08 20:16:03 +00:00
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.74-4
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
2014-09-03 14:27:28 +00:00
|
|
|
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.74-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-09-02 15:15:59 +00:00
|
|
|
* Tue Sep 02 2014 Petr Pisar <ppisar@redhat.com> - 1.74-2
|
|
|
|
- Parse local time zone definition from /etc/localtime (bug #1135981)
|
|
|
|
|
2014-09-02 10:51:38 +00:00
|
|
|
* Tue Sep 02 2014 Petr Pisar <ppisar@redhat.com> - 1.74-1
|
|
|
|
- 1.74 bump (updates to 2014g Olson database)
|
|
|
|
|
2014-08-29 12:31:04 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.73-2
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-07 12:06:47 +00:00
|
|
|
* Thu Aug 07 2014 Petr Pisar <ppisar@redhat.com> - 1.73-1
|
|
|
|
- 1.73 bump
|
|
|
|
|
2014-06-30 13:11:24 +00:00
|
|
|
* Mon Jun 30 2014 Petr Pisar <ppisar@redhat.com> - 1.71-1
|
|
|
|
- update to latest upstream version - Olson 2014e
|
|
|
|
|
2014-06-07 03:16:37 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.69-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-26 12:28:56 +00:00
|
|
|
* Mon May 26 2014 Petr Pisar <ppisar@redhat.com> - 1.69-1
|
|
|
|
- update to latest upstream version - IANA 2014c database
|
|
|
|
|
2014-02-10 10:34:40 +00:00
|
|
|
* Mon Feb 10 2014 Paul Howarth <paul@city-fan.org> - 1.64-1
|
|
|
|
- Update to 1.64
|
|
|
|
- Under taint mode, DateTime::TimeZone->new( name => 'local' ) could die
|
|
|
|
depending on the method used to find the local time zone name, and the
|
|
|
|
resulting variable would often be tainted; we now untaint all names before
|
|
|
|
attempting to load them (CPAN RT#92631)
|
|
|
|
|
2013-10-29 07:33:10 +00:00
|
|
|
* Tue Oct 29 2013 Petr Pisar <ppisar@redhat.com> - 1.63-1
|
|
|
|
- update to latest upstream version - Olson 2013h
|
|
|
|
|
2013-08-14 16:27:32 +00:00
|
|
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-2
|
|
|
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
|
|
2013-08-10 15:36:19 +00:00
|
|
|
* Sat Aug 10 2013 Iain Arnell <iarnell@gmail.com> 1.60-1
|
|
|
|
- update to latest upstream version - Olson 2013d
|
|
|
|
|
2013-08-03 19:53:18 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.59-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-30 04:33:38 +00:00
|
|
|
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 1.59-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-06-26 10:14:36 +00:00
|
|
|
* Wed Jun 26 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-2
|
|
|
|
- Specify all dependencies
|
|
|
|
|
2013-04-22 11:40:49 +00:00
|
|
|
* Mon Apr 22 2013 Iain Arnell <iarnell@gmail.com> 1.59-1
|
|
|
|
- update to latest upstream version - Olson 2013c
|
|
|
|
|
2013-03-20 11:10:10 +00:00
|
|
|
* Wed Mar 20 2013 Iain Arnell <iarnell@gmail.com> 1.58-1
|
|
|
|
- update to latest upstream version - Olson 2013b
|
|
|
|
|
2013-03-03 15:12:05 +00:00
|
|
|
* Sun Mar 03 2013 Iain Arnell <iarnell@gmail.com> 1.57-1
|
|
|
|
- update to latest upstream version - Olson 2013a
|
|
|
|
|
2013-02-14 11:54:01 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-03 11:57:22 +00:00
|
|
|
* Mon Dec 03 2012 Iain Arnell <iarnell@gmail.com> 1.56-1
|
|
|
|
- update to latest upstream version - still Olson 2012j
|
|
|
|
|
2012-11-15 12:36:09 +00:00
|
|
|
* Thu Nov 15 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.54-2
|
|
|
|
- add BR, filter duplicated requires
|
|
|
|
|
2012-11-13 14:48:46 +00:00
|
|
|
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 1.54-1
|
|
|
|
- update to latest upstream version - Olson 2012j
|
|
|
|
|
2012-11-02 12:21:49 +00:00
|
|
|
* Fri Nov 02 2012 Iain Arnell <iarnell@gmail.com> 1.52-1
|
|
|
|
- update to latest upstream version - Olson 2012h
|
|
|
|
|
2012-10-18 08:59:37 +00:00
|
|
|
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 1.51-1
|
|
|
|
- update to latest upstream version - Olson 2012g
|
|
|
|
|
2012-09-15 14:05:46 +00:00
|
|
|
* Sat Sep 15 2012 Iain Arnell <iarnell@gmail.com> 1.49-1
|
|
|
|
- update to latest upstream version - Olson 2012f
|
|
|
|
|
2012-08-03 15:43:35 +00:00
|
|
|
* Fri Aug 03 2012 Iain Arnell <iarnell@gmail.com> 1.48-1
|
|
|
|
- update to latest upstream version - Olson 2012e
|
|
|
|
|
2012-07-21 15:51:07 +00:00
|
|
|
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 1.47-1
|
|
|
|
- update to latest upstream version - Olson 2012d
|
|
|
|
|
2012-07-20 14:38:37 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-10 13:18:37 +00:00
|
|
|
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.46-3
|
|
|
|
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
|
|
2012-06-20 02:16:13 +00:00
|
|
|
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.46-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-04-03 11:15:30 +00:00
|
|
|
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> 1.46-1
|
|
|
|
- update to latest upstream - Olson 2012c
|
|
|
|
|
2012-03-04 18:03:44 +00:00
|
|
|
* Sun Mar 04 2012 Iain Arnell <iarnell@gmail.com> 1.45-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-03-02 21:49:45 +00:00
|
|
|
* Fri Mar 02 2012 Iain Arnell <iarnell@gmail.com> 1.44-1
|
|
|
|
- update to latest upstream version - Olson 2012b
|
|
|
|
|
2012-01-13 13:26:46 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-09 04:01:25 +00:00
|
|
|
* Wed Nov 09 2011 Iain Arnell <iarnell@gmail.com> 1.42-1
|
|
|
|
- update to latest upstream - Olson 2011n
|
|
|
|
|
2011-10-25 03:11:17 +00:00
|
|
|
* Tue Oct 25 2011 Iain Arnell <iarnell@gmail.com> 1.41-1
|
|
|
|
- update to latest upstream - Olson 2011m
|
|
|
|
|
2011-10-11 03:46:09 +00:00
|
|
|
* Tue Oct 11 2011 Iain Arnell <iarnell@gmail.com> 1.40-1
|
|
|
|
- update to latest upstream - Olson 2011l
|
|
|
|
|
2011-09-27 04:15:00 +00:00
|
|
|
* Tue Sep 27 2011 Iain Arnell <iarnell@gmail.com> 1.39-1
|
|
|
|
- update to latest upstream - Olson 2011k
|
|
|
|
|
2011-09-14 03:00:33 +00:00
|
|
|
* Wed Sep 14 2011 Iain Arnell <iarnell@gmail.com> 1.37-1
|
|
|
|
- update to latest upstream - Olson 2011j
|
|
|
|
|
2011-08-30 15:20:23 +00:00
|
|
|
* Tue Aug 30 2011 Iain Arnell <iarnell@gmail.com> 1.36-1
|
|
|
|
- update to latest upstream - Olson 2011i
|
|
|
|
|
2011-08-18 15:42:37 +00:00
|
|
|
* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 1.35-3
|
|
|
|
- rebuild against unbunled perl-DateTime
|
|
|
|
|
2011-08-18 15:15:09 +00:00
|
|
|
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 1.35-2
|
|
|
|
- additional explicit (build)requires for core modules
|
|
|
|
|
|
|
|
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 1.35-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
|
|
- Add bootstrapping logic
|