- update to 1.31:
Updates for Win32 time zones OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-TimeZone?expand=0&rev=24
This commit is contained in:
parent
c4901d792b
commit
a49e766c31
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9b98422315f3c2a71fe7a995735e0a0d065b78e074cbd250513f512dcd55abc5
|
|
||||||
size 291710
|
|
3
DateTime-TimeZone-1.31.tar.gz
Normal file
3
DateTime-TimeZone-1.31.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ad5f9b7b27a06096e818c379e2dec165bf29a3e96ce0ea521bada00e8a1e0368
|
||||||
|
size 406356
|
@ -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
|
Mon Mar 14 22:07:05 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,77 +15,59 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-DateTime-TimeZone
|
Name: perl-DateTime-TimeZone
|
||||||
Version: 1.30
|
Version: 1.31
|
||||||
Release: 1
|
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
|
License: GPL+ or Artistic
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%define cpan_name DateTime-TimeZone
|
||||||
%{perl_requires}
|
Summary: Time zone object base class and factory
|
||||||
BuildRequires: perl-macros
|
Url: http://search.cpan.org/dist/DateTime-TimeZone/
|
||||||
BuildRequires: make
|
Group: Development/Libraries/Perl
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
#Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
Source: %{cpan_name}-%{version}.tar.gz
|
||||||
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
|
|
||||||
BuildArch: noarch
|
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
|
%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.
|
|
||||||
It's primary interface is through a "DateTime" object, and most users will
|
Note that without the 'DateTime.pm' module, this module does not do much.
|
||||||
not need to directly use "DateTime::TimeZone" methods.
|
It's primary interface is through a 'DateTime' object, and most users will
|
||||||
|
not need to directly use 'DateTime::TimeZone' methods.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "DateTime-TimeZone-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
# rpmlint: spurious-executable-perm
|
|
||||||
pushd tools
|
|
||||||
find -type f -exec %{__chmod} 0644 {} \;
|
|
||||||
popd
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
%check
|
|
||||||
%__make test
|
|
||||||
|
|
||||||
%clean
|
%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
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user