Name: perl-List-MoreUtils Version: 0.430 Release: 1 Summary: Provide the stuff missing in List::Util License: (GPL+ or Artistic) and ASL 2.0 URL: https://metacpan.org/release/List-MoreUtils Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-%{version}.tar.gz BuildArch: noarch #For Build BuildRequires: coreutils findutils make perl-generators perl-interpreter perl(base) perl(Config) BuildRequires: perl(constant) perl(ExtUtils::MakeMaker) >= 6.75 perl(File::Basename) perl(File::Spec) BuildRequires: perl(File::Temp) perl(IO::File) perl(IO::Handle) perl(lib) perl(PerlIO) perl(Scalar::Util) perl(Text::ParseWords) # For Runtime BuildRequires: perl(Carp) perl(Exporter::Tiny) >= 0.038 perl(List::MoreUtils::XS) >= 0.426 perl(strict) perl(vars) perl(warnings) #For Test BuildRequires: perl(Exporter) perl(List::Util) perl(Math::Trig) perl(overload) perl(Storable) perl(Test::Builder::Module) perl(Test::More) >= 0.96 perl(Tie::Array) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) Requires: perl(List::MoreUtils::XS) >= 0.426 %description List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util. All of the below functions are implementable in only a couple of lines of Perl code. Using the functions from this module however should give slightly better performance as everything is implemented in C. The pure-Perl implementation of these functions only serves as a fallback in case the C portions of this module couldn't be compiled on this machine. %package_help %prep %autosetup -n List-MoreUtils-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 %make_build %install make install DESTDIR=%{buildroot} %{_fixperms} -c %{buildroot} %check make test %files %license ARTISTIC-1.0 GPL-1 LICENSE %doc Changes README.md %{perl_vendorlib}/List/ %files help %{_mandir}/man3/List::MoreUtils.3* %{_mandir}/man3/List::MoreUtils::Contributing.3* %{_mandir}/man3/List::MoreUtils::PP.3* %changelog * Fri Jan 29 2021 yuanxin - 0.430-1 - upgrade version to 0.430 * Wed Sep 11 2019 openEuler Buildteam - 0.428-5 - Package init