Pascal Bleser 2011-03-14 22:31:21 +00:00 committed by Git OBS Bridge
parent 3c6e3b3dce
commit 4ebc953519
4 changed files with 77 additions and 67 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b7349aee59060d5a6cd310a2fdf2b16846d2015c4c27b86896b3244bb01408c
size 271231

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b98422315f3c2a71fe7a995735e0a0d065b78e074cbd250513f512dcd55abc5
size 291710

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Mar 14 22:07:05 UTC 2011 - pascal.bleser@opensuse.org
- regenerated to use proper dependencies
- update to 1.30:
* based on version 2011d of the Olson database
* includes changes for Samoa, Turkey, and Cuba
- changes from 1.29:
* includes new zones, America/Sitka and America/Metlakatla, as well as
changes for Alaska and Chile
- changes from 1.28:
* includes a new zone, America/North_Dakota/Beulah
- changes from 1.27:
* includes historical updates for Australia and Hawaii
- changes from 1.26:
* fix prereqs
- changes from 1.25:
* attempting to determine the local time zone while inside a sort subroutine
could cause an error "Can't return outside a subroutine"; this was caused
by stack corruption that happens when an eval "use $module" fails
(RT#63106)
- changes from 1.24:
* includes updates for Fiji
* all modules in the distro now have the same $VERSION
- changes from 1.22:
* historical updates for Hong Kong
- changes from 1.21:
* updates for Egypt and Palestine
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 06:55:36 UTC 2010 - coolo@novell.com Wed Dec 1 06:55:36 UTC 2010 - coolo@novell.com

View File

@ -1,93 +1,74 @@
# # vim: set sw=4 ts=4 et nu:
# spec file for package perl-DateTime-TimeZone (Version 1.20)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with test
Name: perl-DateTime-TimeZone Name: perl-DateTime-TimeZone
%define cpan_name DateTime-TimeZone Version: 1.30
Release: 0
Summary: Time zone object base class and factory Summary: Time zone object base class and factory
Version: 1.20 # http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz
Release: 2 Source: DateTime-TimeZone-%{version}.tar.bz2
License: GPL+ or Artistic URL: http://search.cpan.org/dist/DateTime-TimeZone
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DateTime-TimeZone/ License: GPL+ or Artistic
#Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-TimeZone-%{version}.tar.gz BuildRoot: %{_tmppath}/build-%{name}-%{version}
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires} %{perl_requires}
BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl-macros BuildRequires: perl-macros
%if %{with test} BuildRequires: make
BuildRequires: perl(DateTime) >= 0.16
%endif
%if 0%{?suse_version} >= 1130
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
%endif BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(Class::Singleton) >= 1.03 BuildRequires: perl(Class::Singleton) >= 1.03
BuildRequires: perl(Cwd) >= 3 BuildRequires: perl(parent)
BuildRequires: perl(Params::Validate) >= 0.72 BuildRequires: perl(Params::Validate) >= 0.72
# BuildRequires: perl(Pod::Man) >= 1.14
BuildRequires: perl(Class::Load)
BuildRequires: perl(Cwd) >= 3
Requires: perl(Class::Singleton) >= 1.03 Requires: perl(Class::Singleton) >= 1.03
Requires: perl(Cwd) >= 3 Requires: perl(parent)
Requires: perl(Params::Validate) >= 0.72 Requires: perl(Params::Validate) >= 0.72
Requires: perl(Pod::Man) >= 1.14 Requires: perl(Pod::Man) >= 1.14
Requires: perl(Class::Load)
Requires: perl(Cwd) >= 3
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description %description
This class is the base class for all time zone objects. A time zone is 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 represented internally as a set of observances, each of which describes
offset from GMT for a given time period. the offset from GMT for a given time period.
Note that without the "DateTime.pm" module, this module does not do much.
Note that without the DateTime.pm module, this module does not do much. It's primary interface is through a "DateTime" object, and most users will
It's primary interface is through a DateTime object, and most users will not need to directly use "DateTime::TimeZone" methods.
not need to directly use DateTime::TimeZone methods.
Authors:
--------
Dave Rolsky <autarch@urth.org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n "DateTime-TimeZone-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
# rpmlint: spurious-executable-perm # rpmlint: spurious-executable-perm
pushd tools pushd tools
find -type f -exec %{__chmod} 0644 {} \; find -type f -exec %{__chmod} 0644 {} \;
popd popd
%build %build
%{__perl} Build.PL installdirs=vendor %__perl Makefile.PL PREFIX="%{_prefix}"
./Build %__make %{?jobs:-j%{jobs}}
%if 0%{?suse_version} >= 1130
%check
./Build test
%endif
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %perl_make_install
%perl_gen_filelist %perl_process_packlist
%check
%__make test
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files %files
%defattr(-,root,root,-) %defattr(-,root,root)
%doc Changes LICENSE MANIFEST.base perltidyrc README tools xt %doc README Changes LICENSE
%doc tools
%dir %{perl_vendorlib}/DateTime
%{perl_vendorlib}/DateTime/TimeZone
%{perl_vendorlib}/DateTime/TimeZone.pm
%doc %{perl_man3dir}/DateTime::TimeZone.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/DateTime::TimeZone::*.%{perl_man3ext}%{ext_man}
%changelog