diff --git a/DateTime-Format-Strptime-1.5000-deps.patch b/DateTime-Format-Strptime-1.5000-deps.patch deleted file mode 100644 index dfa54df..0000000 --- a/DateTime-Format-Strptime-1.5000-deps.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -ruN DateTime-Format-Strptime-1.5000-orig/Makefile.PL DateTime-Format-Strptime-1.5000/Makefile.PL ---- DateTime-Format-Strptime-1.5000-orig/Makefile.PL 2010-10-16 22:26:44.000000000 +0200 -+++ DateTime-Format-Strptime-1.5000/Makefile.PL 2010-10-17 17:29:38.000000000 +0200 -@@ -20,11 +20,11 @@ - 'LICENSE' => 'artistic_2', - 'NAME' => 'DateTime::Format::Strptime', - 'PREREQ_PM' => { -- 'DateTime' => '0.4304', -+ 'DateTime' => '0.44', - 'DateTime::Locale' => '0.45', - 'DateTime::TimeZone' => '0.79', - 'Params::Validate' => '0.64', -- 'Test::More' => '0.88' -+ 'Test::More' => '0.72' - }, - 'VERSION' => '1.5000', - 'test' => { -diff -ruN DateTime-Format-Strptime-1.5000-orig/META.json DateTime-Format-Strptime-1.5000/META.json ---- DateTime-Format-Strptime-1.5000-orig/META.json 2010-10-16 22:26:44.000000000 +0200 -+++ DateTime-Format-Strptime-1.5000/META.json 2010-10-17 17:29:54.000000000 +0200 -@@ -21,11 +21,11 @@ - }, - "runtime" : { - "requires" : { -- "DateTime" : "0.4304", -+ "DateTime" : "0.44", - "DateTime::Locale" : "0.45", - "DateTime::TimeZone" : "0.79", - "Params::Validate" : "0.64", -- "Test::More" : "0.88" -+ "Test::More" : "0.72" - } - } - }, -diff -ruN DateTime-Format-Strptime-1.5000-orig/META.yml DateTime-Format-Strptime-1.5000/META.yml ---- DateTime-Format-Strptime-1.5000-orig/META.yml 2010-10-16 22:26:44.000000000 +0200 -+++ DateTime-Format-Strptime-1.5000/META.yml 2010-10-17 17:30:07.000000000 +0200 -@@ -13,11 +13,11 @@ - version: 1.4 - name: DateTime-Format-Strptime - requires: -- DateTime: 0.4304 -+ DateTime: 0.44 - DateTime::Locale: 0.45 - DateTime::TimeZone: 0.79 - Params::Validate: 0.64 -- Test::More: 0.88 -+ Test::More: 0.72 - resources: - bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-Strptime - repository: http://hg.urth.org/hg/DateTime-Format-Strptime diff --git a/DateTime-Format-Strptime-1.5000.tar.gz b/DateTime-Format-Strptime-1.5000.tar.gz deleted file mode 100644 index 7ec1e5f..0000000 --- a/DateTime-Format-Strptime-1.5000.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ef191ac4adff361e873c88e27a432b03398815248e36a9e514ee71e17cea554 -size 27707 diff --git a/DateTime-Format-Strptime-1.54.tar.gz b/DateTime-Format-Strptime-1.54.tar.gz new file mode 100644 index 0000000..2c4b751 --- /dev/null +++ b/DateTime-Format-Strptime-1.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00bb61b12472fb1a637ec55bbd8878db05b3aac89a67b7991b281e32896db9de +size 26578 diff --git a/perl-DateTime-Format-Strptime.changes b/perl-DateTime-Format-Strptime.changes index 17a5fc4..a518122 100644 --- a/perl-DateTime-Format-Strptime.changes +++ b/perl-DateTime-Format-Strptime.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jun 10 15:46:45 UTC 2013 - coolo@suse.com + +- updated to 1.54 + - Require DateTime.pm 1.00 because without it tests will break. + - A fix in DateTime.pm 1.00 broke a test in this distro. Reported by Anthony J + Lucas. RT #84371. + - Shut up "unescaped braces in regex" warning from 5.17.0. RT #77514. Patch by + Zefram. + - Packaging cleanup, including listing Test::More as a test prereq, not a + runtime prereq. RT #76128. +- removed obsolete DateTime-Format-Strptime-1.5000-deps.patch + ------------------------------------------------------------------- Fri Nov 18 11:07:09 UTC 2011 - coolo@suse.com diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec index c892150..f8108c4 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) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,47 +15,40 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-DateTime-Format-Strptime +Version: 1.54 +Release: 0 %define cpan_name DateTime-Format-Strptime Summary: Parse and format strp and strf time patterns -Version: 1.5000 -Release: 1 -License: Artistic 2.0 +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.gz -Patch: %{cpan_name}-1.5000-deps.patch +Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(DateTime) >= 0.44 +BuildRequires: perl(DateTime) >= 1.00 BuildRequires: perl(DateTime::Locale) >= 0.45 BuildRequires: perl(DateTime::TimeZone) >= 0.79 BuildRequires: perl(Params::Validate) >= 0.64 -Requires: perl(DateTime) >= 0.44 +BuildRequires: perl(Test::More) >= 0.88 +#BuildRequires: perl(DateTime::Format::Strptime) +Requires: perl(DateTime) >= 1.00 Requires: perl(DateTime::Locale) >= 0.45 Requires: perl(DateTime::TimeZone) >= 0.79 Requires: perl(Params::Validate) >= 0.64 +%{perl_requires} %description -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 +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. %prep %setup -q -n %{cpan_name}-%{version} -%patch -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -66,18 +59,11 @@ Authors: %install %perl_make_install -# 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_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes dist.ini LICENSE META.json README SIGNATURE +%defattr(-,root,root,755) +%doc Changes LICENSE README %changelog