diff --git a/List-AllUtils-0.02.tar.gz b/List-AllUtils-0.02.tar.gz deleted file mode 100644 index eb8dec4..0000000 --- a/List-AllUtils-0.02.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d7e231c80a78f36ea31f1698e0e7abda4ab66858574cebc9fe905aecad073d2 -size 11123 diff --git a/List-AllUtils-0.05.tar.gz b/List-AllUtils-0.05.tar.gz new file mode 100644 index 0000000..b8f5663 --- /dev/null +++ b/List-AllUtils-0.05.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:111c2faa832f7894d6a811b4e9e130f717f3582dc1f0e6c7546abf7453a10f51 +size 13458 diff --git a/perl-List-AllUtils.changes b/perl-List-AllUtils.changes index 8ba3116..1c7e859 100644 --- a/perl-List-AllUtils.changes +++ b/perl-List-AllUtils.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Oct 4 09:13:59 UTC 2013 - coolo@suse.com + +- updated to 0.05 ++- Really require List::Util 1.31, instead of just saying so in the ++ Changes. Reported by Przemysław Wesołek. RT #88296 ++- Updated to require List::Util 1.31, which includes a bunch of new pairwise ++ functions. ++- Updated docs to match List::MoreUtils 0.28+. Reported by ilmari. RT #75196. + ------------------------------------------------------------------- Tue May 22 13:12:35 UTC 2012 - werner@suse.de diff --git a/perl-List-AllUtils.spec b/perl-List-AllUtils.spec index 96ed266..41063b2 100644 --- a/perl-List-AllUtils.spec +++ b/perl-List-AllUtils.spec @@ -1,7 +1,7 @@ # # spec file for package perl-List-AllUtils # -# Copyright (c) 2012 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 @@ -17,54 +17,52 @@ Name: perl-List-AllUtils -Version: 0.02 +Version: 0.05 Release: 0 +%define cpan_name List-AllUtils Summary: Combines List::Util and List::MoreUtils in one bite-sized package -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-2.0 Group: Development/Libraries/Perl -Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-%{version}.tar.gz -Url: http://search.cpan.org/dist/List-AllUtils -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -BuildRequires: perl-macros -BuildRequires: perl(List::MoreUtils) >= 0.22 -BuildRequires: perl(List::Util) >= 1.19 -BuildRequires: perl(Module::Build) >= 0.35 -BuildRequires: perl(Test::More) -Requires: perl(List::MoreUtils) >= 0.22 -Requires: perl(List::Util) >= 1.19 -%if 0%{?suse_version} >= 1120 +Url: http://search.cpan.org/dist/List-AllUtils/ +Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch -%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(List::MoreUtils) >= 0.28 +BuildRequires: perl(List::Util) >= 1.31 +BuildRequires: perl(Test::More) >= 0.88 +#BuildRequires: perl(List::AllUtils) +Requires: perl(List::MoreUtils) >= 0.28 +Requires: perl(List::Util) >= 1.31 +%{perl_requires} %description Are you sick of trying to remember whether a particular helper is defined -in "List::Util" or "List::MoreUtils"? I sure am. Now you don't have to -remember. This module will export all of the functions that either of -those two modules defines. +in 'List::Util' or 'List::MoreUtils'? I sure am. Now you don't have to +remember. This module will export all of the functions that either of those +two modules defines. + +Note that all function documentation has been shamelessly copied from the +List::Util manpage and . %prep -%setup -q -n "List-AllUtils-%{version}" +%setup -q -n %{cpan_name}-%{version} %build -%__perl ./Build.PL -./Build - -%install -./Build pure_install --destdir "%{buildroot}" --installdirs vendor -%perl_process_packlist +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist -%files -%defattr(-,root,root) -%doc Changes README -%dir %{perl_vendorlib}/List -%{perl_vendorlib}/List/AllUtils.pm -%doc %{perl_man3dir}/List::AllUtils.%{perl_man3ext}%{ext_man} +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes LICENSE README %changelog