Move mce_grep tool into a separate sub-package

epel9
Petr Písař 10 years ago
parent 7461fb1f7d
commit 2db011a2a4

@ -1,6 +1,6 @@
Name: perl-MCE Name: perl-MCE
Version: 1.600 Version: 1.600
Release: 2%{?dist} Release: 3%{?dist}
Summary: Many-core Engine for Perl providing parallel processing capabilities Summary: Many-core Engine for Perl providing parallel processing capabilities
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/MCE/ URL: http://search.cpan.org/dist/MCE/
@ -16,6 +16,7 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Runtime # Runtime
# The bin/mce_grep is not used by tests
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(bytes) BuildRequires: perl(bytes)
# Unused BuildRequires: perl(Carp) # 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 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. 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 %prep
%setup -q -n MCE-%{version} %setup -q -n MCE-%{version}
%patch0 -p1 %patch0 -p1
@ -77,12 +88,18 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} +
make test make test
%files %files
%doc CHANGES CREDITS LICENSE README examples %license LICENSE
%doc CHANGES CREDITS README examples
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_bindir}/mce_grep
%{_mandir}/man3/* %{_mandir}/man3/*
%files tools
%{_bindir}/mce_grep
%changelog %changelog
* Wed Feb 11 2015 Petr Pisar <ppisar@redhat.com> - 1.600-3
- Move mce_grep tool into a separate sub-package
* Tue Feb 10 2015 Petr Pisar <ppisar@redhat.com> - 1.600-2 * Tue Feb 10 2015 Petr Pisar <ppisar@redhat.com> - 1.600-2
- Correct dependencies - Correct dependencies

Loading…
Cancel
Save