From c4901d792b15eeaec67ee55445d62baf351c6e468649edb83b438aba604818db Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 24 Mar 2011 16:00:48 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/perl-DateTime-TimeZone revision 10.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-TimeZone?expand=0&rev=868f23a1a66b7370a463dc080f5e8ce3 --- perl-DateTime-TimeZone.spec | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/perl-DateTime-TimeZone.spec b/perl-DateTime-TimeZone.spec index 951ffa4..9441e1f 100644 --- a/perl-DateTime-TimeZone.spec +++ b/perl-DateTime-TimeZone.spec @@ -1,15 +1,32 @@ -# vim: set sw=4 ts=4 et nu: +# +# spec file for package perl-DateTime-TimeZone +# +# Copyright (c) 2011 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/ +# + + Name: perl-DateTime-TimeZone Version: 1.30 -Release: 0 +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 +Url: http://search.cpan.org/dist/DateTime-TimeZone Group: Development/Libraries/Perl License: GPL+ or Artistic -BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl-macros BuildRequires: make @@ -71,4 +88,4 @@ popd %{perl_vendorlib}/DateTime/TimeZone.pm %doc %{perl_man3dir}/DateTime::TimeZone.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/DateTime::TimeZone::*.%{perl_man3ext}%{ext_man} - +%changelog From a49e766c31aa4c39039a0b8a9575bcdbcc2da59c392c765ee40edcf2e28678b8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 1 Apr 2011 06:02:22 +0000 Subject: [PATCH 2/2] - 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 --- DateTime-TimeZone-1.30.tar.bz2 | 3 -- DateTime-TimeZone-1.31.tar.gz | 3 ++ perl-DateTime-TimeZone.changes | 6 +++ perl-DateTime-TimeZone.spec | 96 ++++++++++++++-------------------- 4 files changed, 48 insertions(+), 60 deletions(-) delete mode 100644 DateTime-TimeZone-1.30.tar.bz2 create mode 100644 DateTime-TimeZone-1.31.tar.gz diff --git a/DateTime-TimeZone-1.30.tar.bz2 b/DateTime-TimeZone-1.30.tar.bz2 deleted file mode 100644 index e05c19f..0000000 --- a/DateTime-TimeZone-1.30.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b98422315f3c2a71fe7a995735e0a0d065b78e074cbd250513f512dcd55abc5 -size 291710 diff --git a/DateTime-TimeZone-1.31.tar.gz b/DateTime-TimeZone-1.31.tar.gz new file mode 100644 index 0000000..9d7acc7 --- /dev/null +++ b/DateTime-TimeZone-1.31.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad5f9b7b27a06096e818c379e2dec165bf29a3e96ce0ea521bada00e8a1e0368 +size 406356 diff --git a/perl-DateTime-TimeZone.changes b/perl-DateTime-TimeZone.changes index 57e3d3c..b80099d 100644 --- a/perl-DateTime-TimeZone.changes +++ b/perl-DateTime-TimeZone.changes @@ -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 diff --git a/perl-DateTime-TimeZone.spec b/perl-DateTime-TimeZone.spec index 9441e1f..2e6ed94 100644 --- a/perl-DateTime-TimeZone.spec +++ b/perl-DateTime-TimeZone.spec @@ -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