From 2042dbd919cda61db2d11569783ee56eb27491dfbf05a77617442db28fa2f547 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Fri, 2 Jul 2010 15:11:39 +0000 Subject: [PATCH] Accepting request 42419 from home:computersalat:devel:perl Copy from home:computersalat:devel:perl/perl-DateTime-Format-Strptime via accept of submit request 42419 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/42419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-Strptime?expand=0&rev=4 --- DateTime-Format-Strptime-1.0901.tar.bz2 | 3 - DateTime-Format-Strptime-1.4000.tar.bz2 | 3 + perl-DateTime-Format-Strptime.changes | 19 ++++++ perl-DateTime-Format-Strptime.spec | 78 ++++++++++++------------- 4 files changed, 58 insertions(+), 45 deletions(-) delete mode 100644 DateTime-Format-Strptime-1.0901.tar.bz2 create mode 100644 DateTime-Format-Strptime-1.4000.tar.bz2 diff --git a/DateTime-Format-Strptime-1.0901.tar.bz2 b/DateTime-Format-Strptime-1.0901.tar.bz2 deleted file mode 100644 index 32ece6c..0000000 --- a/DateTime-Format-Strptime-1.0901.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eaf7bd0f0c10a55d88ab4f7b1d27133c2be7f968b05abbe26e4e0a7afde77593 -size 26164 diff --git a/DateTime-Format-Strptime-1.4000.tar.bz2 b/DateTime-Format-Strptime-1.4000.tar.bz2 new file mode 100644 index 0000000..ab15322 --- /dev/null +++ b/DateTime-Format-Strptime-1.4000.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d54e1caf95152c6a50e355f052a62d4a1f97a08af352cd06f60752d46151d1f0 +size 25490 diff --git a/perl-DateTime-Format-Strptime.changes b/perl-DateTime-Format-Strptime.changes index 6921211..126c04f 100644 --- a/perl-DateTime-Format-Strptime.changes +++ b/perl-DateTime-Format-Strptime.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Jul 2 15:00:46 UTC 2010 - chris@computersalat.de + +- update to 1.4000 + - Actually update $VERSION in module file. Reported by David Wheeler. +- 1.3000 2010-06-26 + - Specifiers which allowed for leading space before a number (like %e) + would cause DateTime.pm to throw an error if the date being parsed + actually contained leading space. Patch by Alex Vandiver. RT #58459. + - License is now Artistic 2.0 +- 1.2000 2010-03-19 + - Updated to use non-deprecated DateTime::Locale API +- 1.1000 2009-07-13 -- Regex Pattern + - If the pattern you pass in is a regular expression, that will be honored. + - Changed the locale tests to use require the latest version of Locale + until the target stops moving. +- spec created by cpanspec 1.78 + - noarch + ------------------------------------------------------------------- Sat Jul 25 19:36:40 CEST 2009 - chris@computersalat.de diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec index b01e990..04129cd 100644 --- a/perl-DateTime-Format-Strptime.spec +++ b/perl-DateTime-Format-Strptime.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-DateTime-Format-Strptime -# -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# spec file for package perl-DateTime-Format-Strptime (Version 1.4000) +# +# 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 @@ -17,72 +17,66 @@ # norootforbuild -#Distribution: %dist -#Packager: %packager -#Vendor: %vendor - Name: perl-DateTime-Format-Strptime -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +%define cpan_name DateTime-Format-Strptime Summary: Parse and format strp and strf time patterns -Version: 1.0901 +Version: 1.4000 Release: 1 -License: artistic -Group: Applications/CPAN -Url: http://search.cpan.org/perldoc?DateTime::Format::Strptime -Source0: %{cpan_name}-%{version}.tar.bz2 +License: Artistic 2.0 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/DateTime-Format-Strptime/ +#Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Format-Strptime-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl +%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(DateTime) >= 0.4304 -# rpm does not see that 0.50 is > than 0.4304 +%endif BuildRequires: perl(DateTime) >= 0.44 -BuildRequires: perl(DateTime::Locale) >= 0.41 +BuildRequires: perl(DateTime::Locale) >= 0.45 BuildRequires: perl(DateTime::TimeZone) >= 0.79 BuildRequires: perl(Params::Validate) >= 0.64 -Requires: perl = %{perl_version} -#Requires: perl(DateTime) >= 0.4304 -# rpm does not see that 0.50 is > than 0.4304 -Requires: perl(DateTime) >= 0.44 -Requires: perl(DateTime::Locale) >= 0.41 -Requires: perl(DateTime::TimeZone) >= 0.79 -Requires: perl(Params::Validate) >= 0.64 +Requires: perl = %{perl_version} +Requires: perl(DateTime) >= 0.44 +Requires: perl(DateTime::Locale) >= 0.45 +Requires: perl(DateTime::TimeZone) >= 0.79 +Requires: perl(Params::Validate) >= 0.64 %description - %{cpan_name} module for perl - - This module implements most of strptime(3), the POSIX function that is the - reverse of strftime(3), for DateTime. - While strftime takes a DateTime and a pattern and returns a string, - strptime takes a string and a pattern and returns the DateTime object associated. - - Author: Rick Measham +This module implements most of strptime(3), the POSIX function that is the +reverse of strftime(3), for DateTime. While strftime takes a DateTime and a +pattern and returns a string, strptime takes a string and a pattern and +returns the DateTime object associated. +Authors: +-------- + Rick Measham %prep %setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -%{__make} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install -%perl_process_packlist +# 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 -%clean +%clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files -%defattr(-,root,root) -%doc Changes LICENSE README +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README SIGNATURE %changelog -* Sun Nov 16 2008 - rpm@scorpio-it.net - 1.0800 -- upgrade to new version -* Sun Feb 03 2008 - rpm@scorpio-it.net - 1.0702 - 1 -- first run