Accepting request 202442 from devel:languages:perl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/202442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-List-AllUtils?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal 2013-10-21 13:13:57 +00:00 committed by Git OBS Bridge
commit 070e7b0c44
4 changed files with 46 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d7e231c80a78f36ea31f1698e0e7abda4ab66858574cebc9fe905aecad073d2
size 11123

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:111c2faa832f7894d6a811b4e9e130f717f3582dc1f0e6c7546abf7453a10f51
size 13458

View File

@ -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

View File

@ -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 <List::MoreUtils>.
%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