From 97a09593f16fab6bd16d4b97983dbd95f8127fbf Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Thu, 26 May 2016 10:56:19 +0100
Subject: Update to 1.707

- New upstream release 1.707
  - Fixed logic when workers exit; improved reliability on Windows
  - Applied MCE-1.700-provides.patch from Red Hat
  - Added META.json to the distribution
- BR: perl-generators where available
- Drop upstreamed provides patch
---
 .gitignore               |   1 +
 MCE-1.700-provides.patch | 108 -----------------------------------------------
 perl-MCE.spec            |  20 ++++++---
 sources                  |   2 +-
 4 files changed, 15 insertions(+), 116 deletions(-)
 delete mode 100644 MCE-1.700-provides.patch

diff --git a/.gitignore b/.gitignore
index 021e2a3..7d45779 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /MCE-1.704.tar.gz
 /MCE-1.705.tar.gz
 /MCE-1.706.tar.gz
+/MCE-1.707.tar.gz
diff --git a/MCE-1.700-provides.patch b/MCE-1.700-provides.patch
deleted file mode 100644
index 58ff5d7..0000000
--- a/MCE-1.700-provides.patch
+++ /dev/null
@@ -1,108 +0,0 @@
---- lib/MCE/Core/Input/Generator.pm
-+++ lib/MCE/Core/Input/Generator.pm
-@@ -19,7 +19,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Input/Handle.pm
-+++ lib/MCE/Core/Input/Handle.pm
-@@ -18,7 +18,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Input/Iterator.pm
-+++ lib/MCE/Core/Input/Iterator.pm
-@@ -18,7 +18,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Input/Request.pm
-+++ lib/MCE/Core/Input/Request.pm
-@@ -18,7 +18,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Input/Sequence.pm
-+++ lib/MCE/Core/Input/Sequence.pm
-@@ -18,7 +18,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Manager.pm
-+++ lib/MCE/Core/Manager.pm
-@@ -20,7 +20,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Validation.pm
-+++ lib/MCE/Core/Validation.pm
-@@ -18,7 +18,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Core/Worker.pm
-+++ lib/MCE/Core/Worker.pm
-@@ -18,7 +18,8 @@ our $VERSION = '1.700';
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings qw( threads recursion uninitialized );
- 
---- lib/MCE/Relay.pm
-+++ lib/MCE/Relay.pm
-@@ -150,7 +150,8 @@ sub import {
- 
- ## Items below are folded into MCE.
- 
--package MCE;
-+package # hide from rpm
-+   MCE;
- 
- no warnings 'threads';
- no warnings 'recursion';
diff --git a/perl-MCE.spec b/perl-MCE.spec
index df47b6d..9c057e2 100644
--- a/perl-MCE.spec
+++ b/perl-MCE.spec
@@ -1,18 +1,20 @@
 Name:           perl-MCE
-Version:        1.706
-Release:        2%{?dist}
+Version:        1.707
+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.600-Fix-sharp-bang-line.patch
-Patch1:         MCE-1.700-provides.patch
 BuildArch:      noarch
 # Module Build
 BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
+%if 0%{?fedora} > 20 || 0%{?rhel} > 7
+BuildRequires:  perl-generators
+%endif
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
@@ -74,10 +76,6 @@ the Many-core Engine (MCE) Perl library.
 # Fix sharp-bang line
 %patch0 -p1
 
-# Avoid unversioned provide of perl(MCE)
-%patch1
-
-
 %build
 MCE_INSTALL_TOOLS=1 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -141,6 +139,14 @@ make test
 %{_bindir}/mce_grep
 
 %changelog
+* Thu May 26 2016 Paul Howarth <[email protected]> - 1.707-1
+- Update to 1.707
+  - Fixed logic when workers exit; improved reliability on Windows
+  - Applied MCE-1.700-provides.patch from Red Hat
+  - Added META.json to the distribution
+- BR: perl-generators where available
+- Drop upstreamed provides patch
+
 * Mon May 16 2016 Jitka Plesnikova <[email protected]> - 1.706-2
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 798b74c..04d15e5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-83af47189ccd2b8bc823e0d3f34dd432  MCE-1.706.tar.gz
+7503347849d1a910606acf5f367f5969  MCE-1.707.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-MCE.git/commit/?h=f24&id=97a09593f16fab6bd16d4b97983dbd95f8127fbf
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to