merged with factory
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-TimeZone?expand=0&rev=22
This commit is contained in:
parent
3c6e3b3dce
commit
4ebc953519
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b7349aee59060d5a6cd310a2fdf2b16846d2015c4c27b86896b3244bb01408c
|
||||
size 271231
|
3
DateTime-TimeZone-1.30.tar.bz2
Normal file
3
DateTime-TimeZone-1.30.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b98422315f3c2a71fe7a995735e0a0d065b78e074cbd250513f512dcd55abc5
|
||||
size 291710
|
@ -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
|
||||
|
||||
|
@ -1,93 +1,74 @@
|
||||
#
|
||||
# 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
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
|
||||
Name: perl-DateTime-TimeZone
|
||||
%define cpan_name DateTime-TimeZone
|
||||
Version: 1.30
|
||||
Release: 0
|
||||
Summary: Time zone object base class and factory
|
||||
Version: 1.20
|
||||
Release: 2
|
||||
License: GPL+ or Artistic
|
||||
# http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz
|
||||
Source: DateTime-TimeZone-%{version}.tar.bz2
|
||||
URL: http://search.cpan.org/dist/DateTime-TimeZone
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/DateTime-TimeZone/
|
||||
#Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-TimeZone-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
License: GPL+ or Artistic
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl-macros
|
||||
%if %{with test}
|
||||
BuildRequires: perl(DateTime) >= 0.16
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1130
|
||||
BuildRequires: make
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
%endif
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
BuildRequires: perl(Class::Singleton) >= 1.03
|
||||
BuildRequires: perl(Cwd) >= 3
|
||||
BuildRequires: perl(parent)
|
||||
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(Cwd) >= 3
|
||||
Requires: perl(parent)
|
||||
Requires: perl(Params::Validate) >= 0.72
|
||||
Requires: perl(Pod::Man) >= 1.14
|
||||
Requires: perl(Class::Load)
|
||||
Requires: perl(Cwd) >= 3
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%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.
|
||||
|
||||
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
|
||||
not need to directly use DateTime::TimeZone methods.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Rolsky <autarch@urth.org>
|
||||
represented internally as a set of observances, each of which describes
|
||||
the offset from GMT for a given time period.
|
||||
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
|
||||
not need to directly use "DateTime::TimeZone" methods.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%setup -q -n "DateTime-TimeZone-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
|
||||
# rpmlint: spurious-executable-perm
|
||||
pushd tools
|
||||
find -type f -exec %{__chmod} 0644 {} \;
|
||||
popd
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%if 0%{?suse_version} >= 1130
|
||||
%check
|
||||
./Build test
|
||||
%endif
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%perl_gen_filelist
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE MANIFEST.base perltidyrc README tools xt
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user