epel9
Petr Šabata 10 years ago
parent 2db011a2a4
commit 510a47e79d

1
.gitignore vendored

@ -2,3 +2,4 @@
/MCE-1.521.tar.gz
/MCE-1.522.tar.gz
/MCE-1.600.tar.gz
/MCE-1.604.tar.gz

@ -1,33 +0,0 @@
From 9d9cce744e8cb9c6573578beb18cb25089cd6b86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 10 Feb 2015 11:44:18 +0100
Subject: [PATCH] Install mce_grep
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
CPAN RT#102040
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Makefile.PL | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 9508423..6fdf236 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -33,7 +33,9 @@ WriteMakefile(
VERSION => '1.600',
- EXE_FILES => [],
+ EXE_FILES => [
+ 'bin/mce_grep'
+ ],
(($ExtUtils::MakeMaker::VERSION lt '6.25') ?
(PL_FILES => { }) : ()),
--
1.9.3

@ -1,14 +1,12 @@
Name: perl-MCE
Version: 1.600
Release: 3%{?dist}
Version: 1.604
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
# Install mce_grep tool, CPAN RT#102040
Patch0: MCE-1.600-Install-mce_grep.patch
# Fix sharp-bang line
Patch1: MCE-1.600-Fix-sharp-bang-line.patch
Patch0: MCE-1.600-Fix-sharp-bang-line.patch
BuildArch: noarch
# Build
BuildRequires: perl
@ -19,7 +17,7 @@ BuildRequires: perl(warnings)
# The bin/mce_grep is not used by tests
BuildRequires: perl(base)
BuildRequires: perl(bytes)
# Unused BuildRequires: perl(Carp)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
@ -33,22 +31,21 @@ BuildRequires: perl(Time::HiRes)
# Tests only
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Carp)
Requires: perl(File::Path)
Requires: perl(IO::Handle)
Requires: perl(MCE::Util)
Requires: perl(MCE::Candy)
Requires: perl(MCE::Core::Input::Generator)
Requires: perl(MCE::Core::Input::Handle)
Requires: perl(MCE::Core::Input::Iterator)
Requires: perl(MCE::Core::Input::Request)
Requires: perl(MCE::Core::Input::Sequence)
Requires: perl(MCE::Core::Validation)
Requires: perl(MCE::Core::Manager)
Requires: perl(MCE::Core::Validation)
Requires: perl(MCE::Core::Worker)
Requires: perl(MCE::Util)
Requires: perl(Storable) >= 2.04
%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\((MCE|Storable)\\)$
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Storable\\)$
%global __provides_exclude %{?__provides_exclude|%__provides_exclude|}^perl\\(MCE\\)$
%description
@ -72,11 +69,10 @@ the Many-core Engine (MCE) Perl library.
%prep
%setup -q -n MCE-%{version}
%patch0 -p1
%patch1 -p1
chmod -c a-x examples/*pl
%build
perl Makefile.PL INSTALLDIRS=vendor
MCE_INSTALL_TOOLS=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
@ -88,6 +84,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} +
make test
%files
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc CHANGES CREDITS README examples
%{perl_vendorlib}/*
@ -97,6 +94,9 @@ make test
%{_bindir}/mce_grep
%changelog
* Mon Mar 23 2015 Petr Šabata <contyk@redhat.com> - 1.604-1
- 1.604 bump
* Wed Feb 11 2015 Petr Pisar <ppisar@redhat.com> - 1.600-3
- Move mce_grep tool into a separate sub-package

@ -1 +1 @@
33cc796654ecaf0eb3e69334a27b9a7a MCE-1.600.tar.gz
9a590559943c0ee58bbd804e12ae0df4 MCE-1.604.tar.gz

Loading…
Cancel
Save