commit 2db011a2a4dc7e1cbb0a8e3e2b6d3c32d943c4fd Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Feb 11 09:58:26 2015 +0100 Move mce_grep tool into a separate sub-package perl-MCE.spec | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) --- diff --git a/perl-MCE.spec b/perl-MCE.spec index 314569b..500c169 100644 --- a/perl-MCE.spec +++ b/perl-MCE.spec @@ -1,6 +1,6 @@ Name: perl-MCE Version: 1.600 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Many-core Engine for Perl providing parallel processing capabilities License: GPL+ or Artistic URL: http://search.cpan.org/dist/MCE/ @@ -16,6 +16,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime +# The bin/mce_grep is not used by tests BuildRequires: perl(base) BuildRequires: perl(bytes) # Unused BuildRequires: perl(Carp) @@ -58,6 +59,16 @@ a bank queuing model. Imagine the line being the data and bank-tellers the parallel workers. MCE enhances that model by adding the ability to chunk 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 + +%description tools +This package delivers command line tools like mce_grep(1) that utilize +the Many-core Engine (MCE) Perl library. + + %prep %setup -q -n MCE-%{version} %patch0 -p1 @@ -77,12 +88,18 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} + make test %files -%doc CHANGES CREDITS LICENSE README examples +%license LICENSE +%doc CHANGES CREDITS README examples %{perl_vendorlib}/* -%{_bindir}/mce_grep %{_mandir}/man3/* +%files tools +%{_bindir}/mce_grep + %changelog +* Wed Feb 11 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.600-3 +- Move mce_grep tool into a separate sub-package + * Tue Feb 10 2015 Petr Pisar <ppisar@xxxxxxxxxx> - 1.600-2 - Correct dependencies -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel