From 466704623f2a822affda8393260cbd6290602a96 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 19:45:27 +0000 Subject: import perl-Parallel-Iterator-1.00-8.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..44aa8f6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Parallel-Iterator-1.00.tar.gz diff --git a/.perl-Parallel-Iterator.metadata b/.perl-Parallel-Iterator.metadata new file mode 100644 index 0000000..3ee4308 --- /dev/null +++ b/.perl-Parallel-Iterator.metadata @@ -0,0 +1 @@ +4337daf3ad807efdc033bd55e0df21dbfa20a2fb SOURCES/Parallel-Iterator-1.00.tar.gz diff --git a/SPECS/perl-Parallel-Iterator.spec b/SPECS/perl-Parallel-Iterator.spec new file mode 100644 index 0000000..d10788b --- /dev/null +++ b/SPECS/perl-Parallel-Iterator.spec @@ -0,0 +1,87 @@ +Name: perl-Parallel-Iterator +Version: 1.00 +Release: 8%{?dist} +Summary: Simple parallel execution +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Parallel-Iterator/ +Source0: http://www.cpan.org/authors/id/A/AN/ANDYA/Parallel-Iterator-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Module::Build) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Select) +BuildRequires: perl(POSIX) +BuildRequires: perl(Storable) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +The map function applies a user supplied transformation function to +each element in a list, returning a new list containing the +transformed elements. + +This module provides a 'parallel map'. Multiple worker processes are forked so +that many instances of the transformation function may be executed +simultaneously. + +For time consuming operations, particularly operations that spend most of their +time waiting for I/O, this is a big performance win. It also provides a simple +idiom to make effective use of multi CPU systems. + +%prep +%setup -q -n Parallel-Iterator-%{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 +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.00-8 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.00-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Oct 24 2012 Petr Pisar - 1.00-6 +- Specify all dependencies + +* Fri Jul 20 2012 Fedora Release Engineering - 1.00-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 1.00-4 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.00-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 1.00-2 +- Perl mass rebuild + +* Sat May 14 2011 Iain Arnell 1.00-1 +- Specfile autogenerated by cpanspec 1.79.