From 1daef5502cce46d3b554799cb45c67ec2a176e7f Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 3 Sep 2019 10:29:59 +0100 Subject: [PATCH] Update to 1.847 - New upstream release 1.847 - Obsolete RedHat MCE-1.840-Sereal-deps.patch file; this patch file is no longer needed and finally resolved with this release - PDL random numbers now unique between threads: see https://www.perlmonks.org/?node_id=1214439 - Replaced "PF_UNIX" with "AF_UNIX" in MCE::Util --- .gitignore | 1 + MCE-1.840-Sereal-deps.patch | 31 ------------------------------- perl-MCE.spec | 22 +++++++++++++--------- sources | 2 +- 4 files changed, 15 insertions(+), 41 deletions(-) delete mode 100644 MCE-1.840-Sereal-deps.patch diff --git a/.gitignore b/.gitignore index fdccd33..a476f49 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ /MCE-1.844.tar.gz /MCE-1.845.tar.gz /MCE-1.846.tar.gz +/MCE-1.847.tar.gz diff --git a/MCE-1.840-Sereal-deps.patch b/MCE-1.840-Sereal-deps.patch deleted file mode 100644 index cd9ad59..0000000 --- a/MCE-1.840-Sereal-deps.patch +++ /dev/null @@ -1,31 +0,0 @@ -Upstream's syntax is mis-parsed by the rpm dependency generator as a hard requirement. - ---- lib/MCE/Channel.pm -+++ lib/MCE/Channel.pm -@@ -27,10 +27,8 @@ my ( $freeze, $thaw ); - - BEGIN { - if ( ! defined $INC{'PDL.pm'} ) { -- local $@; eval ' -- use Sereal::Encoder 3.015 qw( encode_sereal ); -- use Sereal::Decoder 3.015 qw( decode_sereal ); -- '; -+ local $@; -+ 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.pm -+++ lib/MCE.pm -@@ -36,10 +36,7 @@ BEGIN { - $_oid = "$$.$_tid"; - - if ($] ge '5.008008' && !$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.spec b/perl-MCE.spec index 3ac06e9..a64c2d4 100644 --- a/perl-MCE.spec +++ b/perl-MCE.spec @@ -1,12 +1,11 @@ Name: perl-MCE -Version: 1.846 +Version: 1.847 Release: 1%{?dist} Summary: Many-core Engine for Perl providing parallel processing capabilities License: GPL+ or Artistic URL: https://metacpan.org/release/MCE Source0: https://cpan.metacpan.org/authors/id/M/MA/MARIOROY/MCE-%{version}.tar.gz Patch0: MCE-1.818-Fix-sharp-bang-line.patch -Patch1: MCE-1.840-Sereal-deps.patch BuildArch: noarch # Module Build BuildRequires: coreutils @@ -77,9 +76,6 @@ the Many-core Engine (MCE) Perl library. # Fix sharp-bang line %patch0 -# Avoid hard dependencies on Sereal -%patch1 - %build MCE_INSTALL_TOOLS=1 perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -175,6 +171,14 @@ make test %{_bindir}/mce_zfgrep %changelog +* Tue Sep 3 2019 Paul Howarth - 1.847-1 +- Update to 1.847 + - Obsolete RedHat MCE-1.840-Sereal-deps.patch file; this patch file is no + longer needed and finally resolved with this release + - PDL random numbers now unique between threads: + see https://www.perlmonks.org/?node_id=1214439 + - Replaced "PF_UNIX" with "AF_UNIX" in MCE::Util + * Tue Aug 27 2019 Paul Howarth - 1.846-1 - Update to 1.846 - Fixed code tags in documentation @@ -294,7 +298,7 @@ make test * Tue Jan 23 2018 Paul Howarth - 1.834-1 - Update to 1.834 - Improved Queue await and dequeue performance on the Windows platform - - Added chameneos-redux parallel demonstrations on Github: + - Added chameneos-redux parallel demonstrations on GitHub: https://github.com/marioroy/mce-examples/tree/master/chameneos - Rebase Sereal-deps patch @@ -391,7 +395,7 @@ make test * Sun Mar 19 2017 Paul Howarth - 1.821-1 - Update to 1.821 - Improved reliability when running MCE with threads - - Added parallel Net::Pcap and Ping demonstrations on Github: + - Added parallel Net::Pcap and Ping demonstrations on GitHub: https://github.com/marioroy/mce-examples/tree/master/network - Optimized 'dequeue' method in MCE::Queue - Optimized 'synchronize' method in MCE::Mutex @@ -458,7 +462,7 @@ make test - Removed signal handling for XCPU and XFSZ from MCE::Signal - Imply posix_exit => 1 if Gearman::XS or Gearman::Util is present during MCE construction - - Added MCE + Gearman demonstrations (xs and non-xs) on Github: + - Added MCE + Gearman demonstrations (xs and non-xs) on GitHub: https://github.com/marioroy/mce-examples/tree/master/gearman_xs https://github.com/marioroy/mce-examples/tree/master/gearman - Changed kilobytes and megabytes to kibiBytes (KiB) and mebiBytes (MiB) @@ -575,7 +579,7 @@ make test ENHANCEMENTS - Enabled auto-destroy for MCE objects - Enabled freeze callbacks for Sereal - - Switched bug tracking to Github + - Switched bug tracking to GitHub - Tweaked test scripts * Sun Mar 20 2016 Paul Howarth - 1.703-1 diff --git a/sources b/sources index 3fb00af..fc40656 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (MCE-1.846.tar.gz) = 3449d5c741f1968fcb836322b1336f9652bf0d47f808cb7ebd331456437f0f826ef57130ad7c0a0c04601a29512376f5050e2b0fbaf0f8056ba2195b129fbc08 +SHA512 (MCE-1.847.tar.gz) = aca6607fce6e1661ec35f23d0207b4d8de55883e6fe354d5fe7decaca3d5b94a6cc814addcdb15d575db3e0267fffa37fdec67bb8aa42ed8f59c0e2c01c44441