Name: perl-DateTime-TimeZone Version: 1.83 Release: 1%{?dist} 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 # Parse local time zone definition from /etc/localtime as before giving up, # bug #1135981, CPAN RT#55029 Patch0: DateTime-TimeZone-1.74-Parse-etc-localtime-by-DateTime-TimeZone-Tzfile.patch BuildArch: noarch # Build BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(Class::Singleton) >= 1.03 BuildRequires: perl(constant) BuildRequires: perl(Cwd) >= 3 %if !%{defined perl_bootstrap} BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Duration) %endif # Unused BuildRequires: perl(DateTime::TimeZone::Tzfile) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Compare) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(List::AllUtils) BuildRequires: perl(List::Util) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Params::Validate) >= 0.72 BuildRequires: perl(parent) BuildRequires: perl(Try::Tiny) BuildRequires: perl(vars) # Tests only BuildRequires: perl(base) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(lib) BuildRequires: perl(overload) BuildRequires: perl(Storable) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Taint) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(File::Basename) Requires: perl(File::Compare) Requires: perl(File::Find) # Require optional DateTime::TimeZone::Tzfile to work in mock after tzdata # upgrade, bug #1135981 Requires: perl(DateTime::TimeZone::Tzfile) %{?filter_setup: %filter_from_requires /^perl(Win32/d %if 0%{?perl_bootstrap} %filter_from_requires /^perl(DateTime\(::Duration\)?)/d %endif %?perl_default_filter} %global __requires_exclude %{__requires_exclude}|perl\\(Params::Validate\\)$|perl\\(Class::Singleton\\)$ %if 0%{?perl_bootstrap} # avoid circular dependencies - DateTime strictly requires DateTime::TimeZone %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\) %global __requires_exclude %{__requires_exclude}|perl\\(DateTime::Duration\\) %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} %patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + %{_fixperms} %{buildroot}/* %check make test %files %doc Changes LICENSE README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jan 07 2015 Petr Šabata - 1.83-1 - 1.83 bump, tests enhanced for 5.21 - Dropping F16-era conflicts * Tue Nov 25 2014 Petr Šabata - 1.81-1 - 1.81 bump, only removes Win32 tests * Tue Nov 18 2014 Petr Šabata - 1.80-1 - 1.80 bump, based on version 2014j of the Olson database * Mon Nov 03 2014 Petr Pisar - 1.76-1 - 1.76 bump * Wed Oct 01 2014 Jitka Plesnikova - 1.75-1 - 1.75 bump * Sun Sep 07 2014 Jitka Plesnikova - 1.74-4 - Perl 5.20 re-rebuild of bootstrapped packages * Wed Sep 03 2014 Jitka Plesnikova - 1.74-3 - Perl 5.20 rebuild * Tue Sep 02 2014 Petr Pisar - 1.74-2 - Parse local time zone definition from /etc/localtime (bug #1135981) * Tue Sep 02 2014 Petr Pisar - 1.74-1 - 1.74 bump (updates to 2014g Olson database) * Fri Aug 29 2014 Jitka Plesnikova - 1.73-2 - Perl 5.20 rebuild * Thu Aug 07 2014 Petr Pisar - 1.73-1 - 1.73 bump * Mon Jun 30 2014 Petr Pisar - 1.71-1 - update to latest upstream version - Olson 2014e * Sat Jun 07 2014 Fedora Release Engineering - 1.69-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 26 2014 Petr Pisar - 1.69-1 - update to latest upstream version - IANA 2014c database * Mon Feb 10 2014 Paul Howarth - 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) * Tue Oct 29 2013 Petr Pisar - 1.63-1 - update to latest upstream version - Olson 2013h * Wed Aug 14 2013 Jitka Plesnikova - 1.60-2 - Perl 5.18 re-rebuild of bootstrapped packages * Sat Aug 10 2013 Iain Arnell 1.60-1 - update to latest upstream version - Olson 2013d * Sat Aug 03 2013 Fedora Release Engineering - 1.59-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 30 2013 Petr Pisar - 1.59-3 - Perl 5.18 rebuild * Wed Jun 26 2013 Jitka Plesnikova - 1.59-2 - Specify all dependencies * Mon Apr 22 2013 Iain Arnell 1.59-1 - update to latest upstream version - Olson 2013c * Wed Mar 20 2013 Iain Arnell 1.58-1 - update to latest upstream version - Olson 2013b * Sun Mar 03 2013 Iain Arnell 1.57-1 - update to latest upstream version - Olson 2013a * Thu Feb 14 2013 Fedora Release Engineering - 1.56-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Dec 03 2012 Iain Arnell 1.56-1 - update to latest upstream version - still Olson 2012j * Thu Nov 15 2012 Marcela Mašláňová - 1.54-2 - add BR, filter duplicated requires * Tue Nov 13 2012 Petr Pisar - 1.54-1 - update to latest upstream version - Olson 2012j * Fri Nov 02 2012 Iain Arnell 1.52-1 - update to latest upstream version - Olson 2012h * Thu Oct 18 2012 Petr Pisar - 1.51-1 - update to latest upstream version - Olson 2012g * Sat Sep 15 2012 Iain Arnell 1.49-1 - update to latest upstream version - Olson 2012f * Fri Aug 03 2012 Iain Arnell 1.48-1 - update to latest upstream version - Olson 2012e * Sat Jul 21 2012 Iain Arnell 1.47-1 - update to latest upstream version - Olson 2012d * Fri Jul 20 2012 Fedora Release Engineering - 1.46-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jul 10 2012 Petr Pisar - 1.46-3 - Perl 5.16 re-rebuild of bootstrapped packages * Wed Jun 20 2012 Petr Pisar - 1.46-2 - Perl 5.16 rebuild * Tue Apr 03 2012 Iain Arnell 1.46-1 - update to latest upstream - Olson 2012c * Sun Mar 04 2012 Iain Arnell 1.45-1 - update to latest upstream version * Fri Mar 02 2012 Iain Arnell 1.44-1 - update to latest upstream version - Olson 2012b * Fri Jan 13 2012 Fedora Release Engineering - 1.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 09 2011 Iain Arnell 1.42-1 - update to latest upstream - Olson 2011n * Tue Oct 25 2011 Iain Arnell 1.41-1 - update to latest upstream - Olson 2011m * Tue Oct 11 2011 Iain Arnell 1.40-1 - update to latest upstream - Olson 2011l * Tue Sep 27 2011 Iain Arnell 1.39-1 - update to latest upstream - Olson 2011k * Wed Sep 14 2011 Iain Arnell 1.37-1 - update to latest upstream - Olson 2011j * Tue Aug 30 2011 Iain Arnell 1.36-1 - update to latest upstream - Olson 2011i * Thu Aug 18 2011 Iain Arnell 1.35-3 - rebuild against unbunled perl-DateTime * Mon Aug 15 2011 Iain Arnell 1.35-2 - additional explicit (build)requires for core modules * Mon Aug 15 2011 Iain Arnell 1.35-1 - Specfile autogenerated by cpanspec 1.78. - Add bootstrapping logic