Accepting request 65869 from devel:languages:perl

Accepted submit request 65869 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-TimeZone?expand=0&rev=11
This commit is contained in:
Sascha Peilicke 2011-04-04 10:55:24 +00:00 committed by Git OBS Bridge
commit 688beebe45
4 changed files with 48 additions and 60 deletions

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 1 05:51:31 UTC 2011 - coolo@novell.com
- update to 1.31:
Updates for Win32 time zones
-------------------------------------------------------------------
Mon Mar 14 22:07:05 UTC 2011 - pascal.bleser@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-TimeZone
# spec file for package perl-DateTime-TimeZone (Version 1.31)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@ -15,77 +15,59 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-DateTime-TimeZone
Version: 1.30
Version: 1.31
Release: 1
Summary: Time zone object base class and factory
# 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
License: GPL+ or Artistic
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(Class::Singleton) >= 1.03
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(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
%define cpan_name DateTime-TimeZone
Summary: Time zone object base class and factory
Url: http://search.cpan.org/dist/DateTime-TimeZone/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Load)
BuildRequires: perl(Class::Singleton) >= 1.03
BuildRequires: perl(Cwd) >= 3
BuildRequires: perl(Params::Validate) >= 0.72
Requires: perl(Class::Load)
Requires: perl(Class::Singleton) >= 1.03
Requires: perl(Cwd) >= 3
Requires: perl(Params::Validate) >= 0.72
%{perl_requires}
%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.
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 "DateTime-TimeZone-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
# rpmlint: spurious-executable-perm
pushd tools
find -type f -exec %{__chmod} 0644 {} \;
popd
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%check
%__make test
%perl_gen_filelist
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes LICENSE README tools
%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