Accepting request 43520 from devel:languages:perl
Copy from devel:languages:perl/perl-DateTime-TimeZone based on submit request 43520 from user computersalat OBS-URL: https://build.opensuse.org/request/show/43520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-TimeZone?expand=0&rev=4
This commit is contained in:
parent
a07aebe766
commit
e2b2c26f08
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6da0e5f4678483853cfba552172efdc55f2d385a6a402f82465f0a77d41fe67a
|
|
||||||
size 270341
|
|
3
DateTime-TimeZone-1.19.tar.bz2
Normal file
3
DateTime-TimeZone-1.19.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6a0ec28635396aba341c3551d8751bb0331bf369c5c203e2a96fb7f3841bfa33
|
||||||
|
size 271028
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 20 14:10:31 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 1.19
|
||||||
|
- This release is based on version 2010j of the Olson database. This release
|
||||||
|
creates a new zone for Mexico (America/Bahia_Banderas).
|
||||||
|
- Dateline time zone on Win32 now always maps to a fixed -12:00 zone. Patch by
|
||||||
|
David Pinkowitz.
|
||||||
|
- 1.18 2010-04-19
|
||||||
|
- This release is based on version 2010i of the Olson database. This release
|
||||||
|
includes changes for Morocco, Taiwan (historical only), and Argentina.
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
o fix deps
|
||||||
|
- noarch pkg
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 11 21:42:25 UTC 2010 - chris@computersalat.de
|
Sun Apr 11 21:42:25 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DateTime-TimeZone (Version 1.17)
|
# spec file for package perl-DateTime-TimeZone (Version 1.19)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -17,76 +17,75 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
# only needed for testsuite
|
%bcond_with test
|
||||||
%define with_DateTime 0
|
|
||||||
|
|
||||||
Name: perl-DateTime-TimeZone
|
Name: perl-DateTime-TimeZone
|
||||||
%define cpan_name DateTime-TimeZone
|
%define cpan_name DateTime-TimeZone
|
||||||
Summary: Time zone object base class and factory
|
Summary: Time zone object base class and factory
|
||||||
Version: 1.17
|
Version: 1.19
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL v1 or later, Artistic License
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/DateTime-Timezone/
|
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
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{?suse_version} < 1120
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Module::Build)
|
%if %{with test}
|
||||||
BuildRequires: perl(Cwd) >= 3
|
|
||||||
BuildRequires: perl(Class::Singleton) >= 1.03
|
|
||||||
BuildRequires: perl(Params::Validate) >= 0.72
|
|
||||||
BuildRequires: perl(Test::Output)
|
|
||||||
# only needed for testsuite
|
|
||||||
%if 0%{?with_DateTime} == 1
|
|
||||||
BuildRequires: perl(DateTime) >= 0.16
|
BuildRequires: perl(DateTime) >= 0.16
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
BuildRequires: perl(Class::Singleton) >= 1.03
|
||||||
|
BuildRequires: perl(Cwd) >= 3
|
||||||
|
BuildRequires: perl(Params::Validate) >= 0.72
|
||||||
#
|
#
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Cwd) >= 3
|
|
||||||
Requires: perl(Class::Singleton) >= 1.03
|
Requires: perl(Class::Singleton) >= 1.03
|
||||||
|
Requires: perl(Cwd) >= 3
|
||||||
Requires: perl(Params::Validate) >= 0.72
|
Requires: perl(Params::Validate) >= 0.72
|
||||||
Requires: perl(Pod::Man) >= 1.14
|
Requires: perl(Pod::Man) >= 1.14
|
||||||
|
|
||||||
%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
|
represented internally as a set of observances, each of which describes the
|
||||||
the offset from GMT for a given time period.
|
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>
|
Authors:
|
||||||
|
--------
|
||||||
|
Dave Rolsky <autarch@urth.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
# rpmlint: spurious-executable-perm
|
||||||
|
pushd tools
|
||||||
|
find -type f -exec %{__chmod} 0644 {} \;
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
# do not perl_process_packlist (noarch)
|
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,-)
|
||||||
%defattr(-,root,root)
|
%doc Changes LICENSE MANIFEST.base perltidyrc README tools xt
|
||||||
%doc Changes LICENSE README SIGNATURE
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user