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
epel9
Paul Howarth 9 years ago
parent c245315fc5
commit 97a09593f1

1
.gitignore vendored

@ -11,3 +11,4 @@
/MCE-1.704.tar.gz
/MCE-1.705.tar.gz
/MCE-1.706.tar.gz
/MCE-1.707.tar.gz

@ -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';

@ -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 <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 1.706-2
- Perl 5.24 rebuild

@ -1 +1 @@
83af47189ccd2b8bc823e0d3f34dd432 MCE-1.706.tar.gz
7503347849d1a910606acf5f367f5969 MCE-1.707.tar.gz

Loading…
Cancel
Save