Package perl-List-UtilsBy: Specfile
%define _unpackaged_files_terminate_build 1 # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(Exporter.pm) perl(ExtUtils/MakeMaker.pm) perl(Scalar/Util.pm) perl-Module-Build perl-devel perl-podlators # END SourceDeps(oneline) Name: perl-List-UtilsBy Version: 0.11 Release: alt1 Summary: Higher-order list utility functions License: GPL+ or Artistic Group: Development/Perl 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(Module/Build.pm) BuildRequires: perl(Test/More.pm) # for improved testing BuildRequires: perl(Test/Pod.pm) Source44: import.info %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 --install_path bindoc=%_man1dir 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 LICENSE README %{perl_vendor_privlib}/* %changelog * Thu Feb 01 2018 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1 - automated CPAN update * Sun Oct 11 2015 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1 - automated CPAN update * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_8 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_7 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_6 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_5 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_4 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_3 - update to new release by fcimport * Fri May 25 2012 Igor Vlasenko <viy@altlinux.ru> 0.09-alt2_1 - fc import * Thu May 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.09-alt1_1 - fc import |