From 7644c51a952721736345ba3fccea58571fba253a Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 13 Sep 2017 12:08:57 +0100 Subject: [PATCH] Update to 1.830 - New upstream release 1.830 Bug Fixes - Fixed MCE and MCE::Relay stalling when setting the input record separator (see http://www.perlmonks.org/?node_id=1196701) - Fixed bug with dequeue_nb in MCE::Queue (GH#8) - Fixed signal handler (GH#9) Enhancements - Added Coro and Win32::GUI to list for enabling posix_exit - Added support for Haiku to get_ncpu in MCE::Util - Allow gathering to a shared array in MCE::Candy - Improved CPU count on the AIX platform in MCE::Util - Improved signal handling, including nested parallel-sessions - Improved running MCE::Hobo inside MCE workers - Improved running MCE with PDL - Refactored logic for MCE->do, bi-directional callback feature - Preserve lexical type for numbers during IPC: MCE->do and MCE::Queue - No longer loads threads on the Windows platform in MCE::Signal; this enables MCE::Hobo 1.827 to spin faster, including lesser memory consumption (threads isn't required to run MCE::Hobo) - Removed extra white-space from POD documentation - Validated MCE on SmartOS - Rebase Sereal-deps patch --- .gitignore | 1 + ...-deps.patch => MCE-1.830-Sereal-deps.patch | 6 ++-- perl-MCE.spec | 32 ++++++++++++++++--- sources | 2 +- 4 files changed, 33 insertions(+), 8 deletions(-) rename MCE-1.812-Sereal-deps.patch => MCE-1.830-Sereal-deps.patch (81%) diff --git a/.gitignore b/.gitignore index 8f1ffe4..b84643c 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ /MCE-1.827.tar.gz /MCE-1.828.tar.gz /MCE-1.829.tar.gz +/MCE-1.830.tar.gz diff --git a/MCE-1.812-Sereal-deps.patch b/MCE-1.830-Sereal-deps.patch similarity index 81% rename from MCE-1.812-Sereal-deps.patch rename to MCE-1.830-Sereal-deps.patch index 5fe3025..e728321 100644 --- a/MCE-1.812-Sereal-deps.patch +++ b/MCE-1.830-Sereal-deps.patch @@ -2,10 +2,10 @@ Upstream's syntax is mis-parsed by the rpm dependency generator as a hard requir --- lib/MCE.pm +++ lib/MCE.pm -@@ -39,10 +39,7 @@ BEGIN { - eval 'use PDL::IO::Storable' if $INC{'PDL.pm'}; +@@ -36,10 +36,7 @@ BEGIN { + $_oid = "$$.$_tid"; - if (!exists $INC{'PDL.pm'}) { + if ($] ge '5.008008' && !exists $INC{'PDL.pm'}) { - eval ' - use Sereal::Encoder 3.015 qw( encode_sereal ); - use Sereal::Decoder 3.015 qw( decode_sereal ); diff --git a/perl-MCE.spec b/perl-MCE.spec index d51121f..38139f9 100644 --- a/perl-MCE.spec +++ b/perl-MCE.spec @@ -1,19 +1,19 @@ Name: perl-MCE -Version: 1.829 -Release: 3%{?dist} +Version: 1.830 +Release: 1%{?dist} Summary: Many-core Engine for Perl providing parallel processing capabilities License: GPL+ or Artistic URL: http://search.cpan.org/dist/MCE/ Source0: http://www.cpan.org/authors/id/M/MA/MARIOROY/MCE-%{version}.tar.gz Patch0: MCE-1.818-Fix-sharp-bang-line.patch -Patch1: MCE-1.812-Sereal-deps.patch +Patch1: MCE-1.830-Sereal-deps.patch BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(base) @@ -153,6 +153,30 @@ make test %{_bindir}/mce_zfgrep %changelog +* Wed Sep 13 2017 Paul Howarth - 1.830-1 +- Update to 1.830 + Bug Fixes + - Fixed MCE and MCE::Relay stalling when setting the input record separator + (see http://www.perlmonks.org/?node_id=1196701) + - Fixed bug with dequeue_nb in MCE::Queue (GH#8) + - Fixed signal handler (GH#9) + Enhancements + - Added Coro and Win32::GUI to list for enabling posix_exit + - Added support for Haiku to get_ncpu in MCE::Util + - Allow gathering to a shared array in MCE::Candy + - Improved CPU count on the AIX platform in MCE::Util + - Improved signal handling, including nested parallel-sessions + - Improved running MCE::Hobo inside MCE workers + - Improved running MCE with PDL + - Refactored logic for MCE->do, bi-directional callback feature + - Preserve lexical type for numbers during IPC: MCE->do and MCE::Queue + - No longer loads threads on the Windows platform in MCE::Signal; this + enables MCE::Hobo 1.827 to spin faster, including lesser memory + consumption (threads isn't required to run MCE::Hobo) + - Removed extra white-space from POD documentation + - Validated MCE on SmartOS +- Rebase Sereal-deps patch + * Thu Jul 27 2017 Fedora Release Engineering - 1.829-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 09e3be3..2499a87 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (MCE-1.829.tar.gz) = fb77945529552e96bbb7f2b455442485cd915394b47b342795c177b33ffe102047de9f0b5f7f5281cefd0af2810bc8523220c881033a873d8b79b8bd9bedddf3 +SHA512 (MCE-1.830.tar.gz) = c47f21a239103df7fc6f0c4b1357525d32f8efefd35a556443527c2a119b5df35ab1d867801a3539ba7081cb49252371f5b80a5853a3e308eaa4569298efff12