From 67265bb94c75bba240da049c5c33b6ec989694a2 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 2 Mar 2017 12:08:37 +0000
Subject: Update to 1.818

- New upstream release 1.818
  - Updated bin/mce_grep for determining chunk level and chunk size
  - Fixed an issue for not seeing STDERR output with '--chunk-level=file'
  - Added support for zgrep, zegrep, and zfgrep
  - Replaced Sereal with Sereal::Decoder and Sereal::Encoder in Makefile,
    inside recommends section; ditto for META files
  - Refactored MCE::Queue: merged local and manager code base into one
  - Removed t/04_norm_que_local.t and t/04_prio_que_local.t
  - Added 'end' method to MCE::Queue
  - Updated documentation on dequeue and pending
- Add symlinks for mce_grep variants
---
 .gitignore                          |  1 +
 MCE-1.600-Fix-sharp-bang-line.patch | 26 --------------------------
 MCE-1.818-Fix-sharp-bang-line.patch |  8 ++++++++
 perl-MCE.spec                       | 35 ++++++++++++++++++++++++++++++-----
 sources                             |  2 +-
 5 files changed, 40 insertions(+), 32 deletions(-)
 delete mode 100644 MCE-1.600-Fix-sharp-bang-line.patch
 create mode 100644 MCE-1.818-Fix-sharp-bang-line.patch

diff --git a/.gitignore b/.gitignore
index 90c46fe..00f0426 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@
 /MCE-1.814.tar.gz
 /MCE-1.815.tar.gz
 /MCE-1.817.tar.gz
+/MCE-1.818.tar.gz
diff --git a/MCE-1.600-Fix-sharp-bang-line.patch 
b/MCE-1.600-Fix-sharp-bang-line.patch
deleted file mode 100644
index 3fa1de0..0000000
--- a/MCE-1.600-Fix-sharp-bang-line.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From c959e067ee5bb6c4ad5b139058b7e3bb29716c15 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
-Date: Tue, 10 Feb 2015 11:48:32 +0100
-Subject: [PATCH] Fix sharp-bang line
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Petr Písař <ppi...@redhat.com>
----
- bin/mce_grep | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bin/mce_grep b/bin/mce_grep
-index 44cfc8a..028bb04 100755
---- a/bin/mce_grep
-+++ b/bin/mce_grep
-@@ -1,4 +1,4 @@
--#!/usr/bin/env perl
-+#!perl
- 
###############################################################################
- ## 
----------------------------------------------------------------------------
- ## A MCE-driven wrapper script for the following C binaries.
--- 
-1.9.3
-
diff --git a/MCE-1.818-Fix-sharp-bang-line.patch 
b/MCE-1.818-Fix-sharp-bang-line.patch
new file mode 100644
index 0000000..95ddb05
--- /dev/null
+++ b/MCE-1.818-Fix-sharp-bang-line.patch
@@ -0,0 +1,8 @@
+--- bin/mce_grep
++++ bin/mce_grep
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ 
###############################################################################
+ ## 
----------------------------------------------------------------------------
+ ## A MCE-driven 'wrapper' script for grep-like C binaries.
diff --git a/perl-MCE.spec b/perl-MCE.spec
index 8344379..9ce87da 100644
--- a/perl-MCE.spec
+++ b/perl-MCE.spec
@@ -1,11 +1,11 @@
 Name:           perl-MCE
-Version:        1.817
+Version:        1.818
 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
+Patch0:         MCE-1.818-Fix-sharp-bang-line.patch
 Patch1:         MCE-1.812-Sereal-deps.patch
 BuildArch:      noarch
 # Module Build
@@ -62,7 +62,7 @@ the next n elements from the input stream to the next 
available worker.
 %package tools
 Summary:        Many-core Engine command line tools
 Requires:       %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires:       grep
+Requires:       grep, gzip
 
 %description tools
 This package delivers command line tools like mce_grep(1) that utilize
@@ -72,7 +72,7 @@ the Many-core Engine (MCE) Perl library.
 %setup -q -n MCE-%{version}
 
 # Fix sharp-bang line
-%patch0 -p1
+%patch0
 
 # Avoid hard dependencies on Sereal
 %patch1
@@ -86,6 +86,13 @@ make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} -c %{buildroot}
 
+# Add symlinks for grep variants
+ln -s mce_grep %{buildroot}%{_bindir}/mce_egrep
+ln -s mce_grep %{buildroot}%{_bindir}/mce_fgrep
+ln -s mce_grep %{buildroot}%{_bindir}/mce_zgrep
+ln -s mce_grep %{buildroot}%{_bindir}/mce_zegrep
+ln -s mce_grep %{buildroot}%{_bindir}/mce_zfgrep
+
 %check
 make test
 
@@ -138,8 +145,26 @@ make test
 
 %files tools
 %{_bindir}/mce_grep
+%{_bindir}/mce_egrep
+%{_bindir}/mce_fgrep
+%{_bindir}/mce_zgrep
+%{_bindir}/mce_zegrep
+%{_bindir}/mce_zfgrep
 
 %changelog
+* Thu Mar  2 2017 Paul Howarth <p...@city-fan.org> - 1.818-1
+- Update to 1.818
+  - Updated bin/mce_grep for determining chunk level and chunk size
+  - Fixed an issue for not seeing STDERR output with '--chunk-level=file'
+  - Added support for zgrep, zegrep, and zfgrep
+  - Replaced Sereal with Sereal::Decoder and Sereal::Encoder in Makefile,
+    inside recommends section; ditto for META files
+  - Refactored MCE::Queue: merged local and manager code base into one
+  - Removed t/04_norm_que_local.t and t/04_prio_que_local.t
+  - Added 'end' method to MCE::Queue
+  - Updated documentation on dequeue and pending
+- Add symlinks for mce_grep variants
+
 * Sat Feb 25 2017 Paul Howarth <p...@city-fan.org> - 1.817-1
 - Update to 1.817
   - Revised the description of max_retries in MCE::Core.pod
@@ -152,7 +177,7 @@ make test
 - Update to 1.815
   - Fixed divide-by-zero error in MCE->yield
   - Refactored code for the interval option by moving the code to the manager
-    process, which allows the manager process to accomodate the next available
+    process, which allows the manager process to accommodate the next available
     worker ready to run; previously, a worker taking a long time resulted in
     empty time slots
   - Revised the description of posix_exit in MCE::Core.pod
diff --git a/sources b/sources
index c7e4fc8..069aaa6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (MCE-1.817.tar.gz) = 
08ff3755b531410dbdac05d68798a2ef128023e216b2c0d20e220968e514ecfd22cd9ab62ac9f6b438d31434943a450c359f88bc276823ad3e74f2d2dd2f205e
+SHA512 (MCE-1.818.tar.gz) = 
9d5d3dd1903d9fd98d85a901919d1d3a82d4d68ee6b36401c3c521da2503e40664eafc16b3680a7543c471b98bd3efb672c9ee7b37ed27e1b3d80b3bf642404e
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-MCE.git/commit/?h=master&id=67265bb94c75bba240da049c5c33b6ec989694a2
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to