cdb25e2356
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-List-AllUtils?expand=0&rev=1
54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
|
|
Name: perl-List-AllUtils
|
|
Version: 0.02
|
|
Release: 0
|
|
Summary: Combines List::Util and List::MoreUtils in one bite-sized package
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/List-AllUtils
|
|
Group: Development/Libraries/Perl
|
|
License: Perl License
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Module::Build) >= 0.35
|
|
BuildRequires: perl(List::Util) >= 1.19
|
|
BuildRequires: perl(List::MoreUtils) >= 0.22
|
|
Requires: perl(List::Util) >= 1.19
|
|
Requires: perl(List::MoreUtils) >= 0.22
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n "List-AllUtils-%{version}"
|
|
|
|
%build
|
|
%__perl ./Build.PL
|
|
./Build
|
|
|
|
%install
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%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}
|
|
|