Name: perl-List-UtilsBy Version: 0.10 Release: 6%{?dist} Summary: Higher-order list utility functions License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/List-UtilsBy/ Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/List-UtilsBy-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(Module::Build) >= 0.4004 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(warnings) # for improved testing BuildRequires: perl(Test::Pod) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a number of list utility functions, all of which take an initial code block to control their behaviour. They are variations on similar core perl or List::Util functions of similar names, but which use the block to control their behaviour. For example, the core Perl function sort takes a list of values and returns them, sorted into order by their string value. The sort_by function sorts them according to the string value returned by the extra function, when given each value. %prep %setup -q -n List-UtilsBy-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %doc Changes README %%license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jul 27 2017 Fedora Release Engineering - 0.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.10-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.10-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jul 26 2015 Ralf Corsépius - 0.10-1 - Upstream update. - Add %%license. - Modernize spec. * Thu Jun 18 2015 Fedora Release Engineering - 0.09-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.09-9 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.09-8 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.09-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.09-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 0.09-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.09-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.09-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.09-2 - Perl 5.16 rebuild * Sun Mar 04 2012 Ralf Corsépius 0.09-1 - Upstream update. * Fri Jan 13 2012 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Nov 25 2011 Ralf Corsépius 0.08-1 - Upstream update. * Sun Jun 19 2011 Marcela Mašláňová - 0.07-2 - Perl mass rebuild * Thu Apr 28 2011 Ralf Corsépius 0.07-1 - Upstream update. - Spec cleanup. * Tue Feb 08 2011 Fedora Release Engineering - 0.06-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Ralf Corsépius 0.06-1 - Initial Fedora package.