pghmcfc pushed to perl-MCE-Shared (master). "Update to 1.841 (..more)"
by notifications@fedoraproject.org
Notification time stamped 2019-07-07 18:19:19 UTC
From 147e28c909dbc0824173afc3b9ef1e7bad58240a Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Jul 07 2019 18:18:44 +0000
Subject: Update to 1.841
- New upstream release 1.841
- IPC update; raising reliability across multiple platforms
- Improved the hack for the Windows platform to MCE::Shared::Server
- Support reading a shared <DATA> handle residing in the main script without
involving the IO::FDPass module
- Added barrier option to MCE::Shared::Queue allowing one to disable
- Added mutex locking for all shared objects, previously just condvars
- Added void_context option to MCE::Hobo
- Renamed POD method headers from '=item' to '=head2' in Shared classes
- Bumped MCE dependency to 1.839
- Removed MANIFEST.SKIP
---
diff --git a/MCE-Shared-1.831-Sereal-deps.patch b/MCE-Shared-1.831-Sereal-deps.patch
deleted file mode 100644
index 70204fa..0000000
--- a/MCE-Shared-1.831-Sereal-deps.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Upstream's syntax is mis-parsed by the rpm dependency generator as a hard requirement.
-
---- lib/MCE/Shared/Server.pm
-+++ lib/MCE/Shared/Server.pm
-@@ -40,10 +40,7 @@ BEGIN {
- $_spawn_child = $_has_threads ? 0 : 1;
-
- 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.841-Sereal-deps.patch b/MCE-Shared-1.841-Sereal-deps.patch
new file mode 100644
index 0000000..0e3b873
--- /dev/null
+++ b/MCE-Shared-1.841-Sereal-deps.patch
@@ -0,0 +1,16 @@
+Upstream's syntax is mis-parsed by the rpm dependency generator as a hard requirement.
+
+--- lib/MCE/Shared/Server.pm
++++ lib/MCE/Shared/Server.pm
+@@ -40,10 +40,7 @@ BEGIN {
+ $_spawn_child = $_has_threads ? 0 : 1;
+
+ if (!defined $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 5266881..d89fe12 100644
--- a/perl-MCE-Shared.spec
+++ b/perl-MCE-Shared.spec
@@ -1,11 +1,11 @@
Name: perl-MCE-Shared
-Version: 1.840
-Release: 3%{?dist}
+Version: 1.841
+Release: 1%{?dist}
Summary: MCE extension for sharing data, supporting threads and processes
License: GPL+ or Artistic
URL: https://metacpan.org/release/MCE-Shared
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARIOROY/MCE-Shared-%{version}....
-Patch0: MCE-Shared-1.831-Sereal-deps.patch
+Patch0: MCE-Shared-1.841-Sereal-deps.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@@ -19,7 +19,9 @@ BuildRequires: perl(base)
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
-BuildRequires: perl(MCE) >= 1.837
+BuildRequires: perl(Errno)
+BuildRequires: perl(if)
+BuildRequires: perl(MCE) >= 1.839
BuildRequires: perl(MCE::Mutex)
BuildRequires: perl(MCE::Signal)
BuildRequires: perl(MCE::Util)
@@ -36,21 +38,17 @@ BuildRequires: perl(warnings)
# Optional Functionality
# Note: MCE will pull in Sereal if it is available
BuildRequires: perl(IO::FDPass) >= 1.2
-BuildRequires: perl(threads)
-BuildRequires: perl(threads::shared)
# Test Suite
BuildRequires: perl(MCE::Flow)
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.837
+Requires: perl(MCE) >= 1.839
Requires: perl(overloading)
Requires: perl(POSIX)
Requires: perl(Storable) >= 2.04
Requires: perl(Symbol)
-Requires: perl(threads)
-Requires: perl(threads::shared)
# Remove bogus dependency on perl(PDL)
%global __requires_exclude ^perl\\(PDL\\)
@@ -98,6 +96,19 @@ make test
%{_mandir}/man3/MCE::Shared::Server.3*
%changelog
+* Sun Jul 7 2019 Paul Howarth <paul(a)city-fan.org> - 1.841-1
+- Update to 1.841
+ - IPC update; raising reliability across multiple platforms
+ - Improved the hack for the Windows platform to MCE::Shared::Server
+ - Support reading a shared <DATA> handle residing in the main script without
+ involving the IO::FDPass module
+ - Added barrier option to MCE::Shared::Queue allowing one to disable
+ - Added mutex locking for all shared objects, previously just condvars
+ - Added void_context option to MCE::Hobo
+ - Renamed POD method headers from '=item' to '=head2' in Shared classes
+ - Bumped MCE dependency to 1.839
+ - Removed MANIFEST.SKIP
+
* Fri May 31 2019 Jitka Plesnikova <jplesnik(a)redhat.com> - 1.840-3
- Perl 5.30 rebuild
diff --git a/sources b/sources
index 0784d4f..198c833 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (MCE-Shared-1.840.tar.gz) = 23d7cd234cb83a855f2548fd59d0417c1eb84381a3472fff10bee068ef218704e89a4c60d740dd3f043763c79ec8cb72cea5a494cd1fec5adc24a6d8bbba4110
+SHA512 (MCE-Shared-1.841.tar.gz) = 950d683b0a81872a7576261e94f929bdad05bdcd380360d3924e49760f961723f9f7ac893ebb800d3398a400de92ff6a94144c399ab2224cc7c672e1461922e4
https://src.fedoraproject.org/rpms/perl-MCE-Shared/c/147e28c909dbc0824173...