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