From c81bf2a46b34d3916e3fd3073346fc411f18c140 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Sat, 1 Apr 2017 17:00:26 +0100
Subject: Update to 1.820
- New upstream release 1.820
- Check for EINTR during sysread and syswrite
- Improved non-shared handles constructed with MCE::Shared::Handle
- Reap MCE::Hobo's from script exiting during development process
- Calibrated the number of data-channels for IPC
- Completed validation for using MCE::Shared with 200+ cores
- Completed validation for running MCE on a box having 100+ cores
- Tuned the number of data-channels for IPC, similar to MCE
- Bumped MCE dependency to 1.824
---
.rpmlint | 2 ++
MCE-Shared-1.817-Sereal-deps.patch | 30 ------------------------------
MCE-Shared-1.820-Sereal-deps.patch | 30 ++++++++++++++++++++++++++++++
perl-MCE-Shared.spec | 21 ++++++++++++++++-----
sources | 2 +-
5 files changed, 49 insertions(+), 36 deletions(-)
create mode 100644 .rpmlint
delete mode 100644 MCE-Shared-1.817-Sereal-deps.patch
create mode 100644 MCE-Shared-1.820-Sereal-deps.patch
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..52ea5aa
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error %description -l en_US parallelization -> ");
diff --git a/MCE-Shared-1.817-Sereal-deps.patch b/MCE-Shared-1.817-Sereal-deps.patch
deleted file mode 100644
index 8a08709..0000000
--- a/MCE-Shared-1.817-Sereal-deps.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Upstream's syntax is mis-parsed by the rpm dependency generator as a hard
requirement.
-
---- lib/MCE/Hobo.pm
-+++ lib/MCE/Hobo.pm
-@@ -36,10 +36,7 @@ BEGIN {
- $_has_threads = $INC{'threads.pm'} ? 1 : 0;
-
- if (!exists $INC{'PDL.pm'}) {
-- eval '
-- use Sereal::Encoder 3.015 qw( encode_sereal );
-- use Sereal::Decoder 3.015 qw( decode_sereal );
-- ';
-+ eval 'use Sereal::Encoder 3.015 qw( encode_sereal ); use Sereal::Decoder 3.015
qw( decode_sereal );';
- if ( !$@ ) {
- my $_encoder_ver = int( Sereal::Encoder->VERSION() );
- my $_decoder_ver = int( Sereal::Decoder->VERSION() );
---- lib/MCE/Shared/Server.pm
-+++ lib/MCE/Shared/Server.pm
-@@ -47,10 +47,7 @@ BEGIN {
- eval 'use PDL::IO::Storable' if $INC{'PDL.pm'};
-
- if (!exists $INC{'PDL.pm'}) {
-- eval '
-- use Sereal::Encoder 3.015 qw( encode_sereal );
-- use Sereal::Decoder 3.015 qw( decode_sereal );
-- ';
-+ eval 'use Sereal::Encoder 3.015 qw( encode_sereal ); use Sereal::Decoder 3.015
qw( decode_sereal );';
- if ( !$@ ) {
- my $_encoder_ver = int( Sereal::Encoder->VERSION() );
- my $_decoder_ver = int( Sereal::Decoder->VERSION() );
diff --git a/MCE-Shared-1.820-Sereal-deps.patch b/MCE-Shared-1.820-Sereal-deps.patch
new file mode 100644
index 0000000..5407905
--- /dev/null
+++ b/MCE-Shared-1.820-Sereal-deps.patch
@@ -0,0 +1,30 @@
+Upstream's syntax is mis-parsed by the rpm dependency generator as a hard
requirement.
+
+--- lib/MCE/Hobo.pm
++++ lib/MCE/Hobo.pm
+@@ -37,10 +37,7 @@ BEGIN {
+ $_has_threads = $INC{'threads.pm'} ? 1 : 0;
+
+ if (!exists $INC{'PDL.pm'}) {
+- eval '
+- use Sereal::Encoder 3.015 qw( encode_sereal );
+- use Sereal::Decoder 3.015 qw( decode_sereal );
+- ';
++ eval 'use Sereal::Encoder 3.015 qw( encode_sereal ); use Sereal::Decoder 3.015
qw( decode_sereal );';
+ if ( !$@ ) {
+ my $_encoder_ver = int( Sereal::Encoder->VERSION() );
+ my $_decoder_ver = int( Sereal::Decoder->VERSION() );
+--- lib/MCE/Shared/Server.pm
++++ lib/MCE/Shared/Server.pm
+@@ -48,10 +48,7 @@ BEGIN {
+ eval 'use PDL::IO::Storable' if $INC{'PDL.pm'};
+
+ if (!exists $INC{'PDL.pm'}) {
+- eval '
+- use Sereal::Encoder 3.015 qw( encode_sereal );
+- use Sereal::Decoder 3.015 qw( decode_sereal );
+- ';
++ eval 'use Sereal::Encoder 3.015 qw( encode_sereal ); use Sereal::Decoder 3.015
qw( decode_sereal );';
+ if ( !$@ ) {
+ my $_encoder_ver = int( Sereal::Encoder->VERSION() );
+ my $_decoder_ver = int( Sereal::Decoder->VERSION() );
diff --git a/perl-MCE-Shared.spec b/perl-MCE-Shared.spec
index 81e27a9..eb08a72 100644
--- a/perl-MCE-Shared.spec
+++ b/perl-MCE-Shared.spec
@@ -1,11 +1,11 @@
Name: perl-MCE-Shared
-Version: 1.817
+Version: 1.820
Release: 1%{?dist}
Summary: MCE extension for sharing data, supporting threads and processes
License: GPL+ or Artistic
URL:
http://search.cpan.org/dist/MCE-Shared/
Source0:
http://search.cpan.org/CPAN/authors/id/M/MA/MARIOROY/MCE-Shared-%{version...
-Patch0: MCE-Shared-1.817-Sereal-deps.patch
+Patch0: MCE-Shared-1.820-Sereal-deps.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@@ -15,15 +15,15 @@ BuildRequires: perl >= 4:5.10.1
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
+BuildRequires: perl(base)
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
-BuildRequires: perl(MCE) >= 1.821
+BuildRequires: perl(MCE) >= 1.824
BuildRequires: perl(MCE::Mutex)
BuildRequires: perl(MCE::Util)
BuildRequires: perl(overload)
BuildRequires: perl(overloading)
-BuildRequires: perl(parent)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
BuildRequires: perl(Storable) >= 2.04
@@ -43,7 +43,7 @@ BuildRequires: perl(Test::More) >= 0.88
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(IO::FDPass) >= 1.2
-Requires: perl(MCE) >= 1.821
+Requires: perl(MCE) >= 1.824
Requires: perl(overloading)
Requires: perl(Storable) >= 2.04
Requires: perl(Symbol)
@@ -96,6 +96,17 @@ make test
%{_mandir}/man3/MCE::Shared::Server.3*
%changelog
+* Sat Apr 1 2017 Paul Howarth <paul(a)city-fan.org> - 1.820-1
+- Update to 1.820
+ - Check for EINTR during sysread and syswrite
+ - Improved non-shared handles constructed with MCE::Shared::Handle
+ - Reap MCE::Hobo's from script exiting during development process
+ - Calibrated the number of data-channels for IPC
+ - Completed validation for using MCE::Shared with 200+ cores
+ - Completed validation for running MCE on a box having 100+ cores
+ - Tuned the number of data-channels for IPC, similar to MCE
+ - Bumped MCE dependency to 1.824
+
* Sun Mar 19 2017 Paul Howarth <paul(a)city-fan.org> - 1.817-1
- Update to 1.817
- Fixed broken SIG{'PIPE'} handling: e.g. script.pl | head
diff --git a/sources b/sources
index c181855..2546ee7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (MCE-Shared-1.817.tar.gz) =
5f81c0e11c01a65566331d12a64628a336a8478825ee42bd987f96c432a10bd0ecdd51bcec5b2a5306d007a0afa0be5ef85d5e11b50e3b65158f0b0409115081
+SHA512 (MCE-Shared-1.820.tar.gz) =
b8a4bcb3d27608c862e037fbc021df3013fd893acddc56784a39a11c8b1e2a278359048034f6f14694f64a09110b27f2d70084b2f4fcea53c5373751978da1b4
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-MCE-Shared.git/commit/?h=master&a...