forked from pool/perl-Parallel-ForkManager
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
6c876e5dcd | |||
cb9ab059a8 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c1b2970a8bb666c3de7caac4a8f4dbcc043ab819bbc337692ec7bf27adae4404
|
|
||||||
size 33457
|
|
3
Parallel-ForkManager-2.03.tar.gz
Normal file
3
Parallel-ForkManager-2.03.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c0e0bead458224b9ac5bb32ed2b1fa088963b565521c1bb1a6a3566d522c2e35
|
||||||
|
size 35459
|
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 1 05:31:55 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 2.30.0 (2.03)
|
||||||
|
see /usr/share/doc/packages/perl-Parallel-ForkManager/Changes
|
||||||
|
|
||||||
|
2.03 2024-08-24
|
||||||
|
[BUG FIXES]
|
||||||
|
- Fix invalid default error when using old Moo (GH#41)
|
||||||
|
|
||||||
|
[DOCUMENTATION]
|
||||||
|
- Standardize the link to `fork`. (GH#32)
|
||||||
|
- Fix typo in code example. (GH#31, dimir)
|
||||||
|
- Fix typo for 'max_proc' argument in `new`.
|
||||||
|
|
||||||
|
[STATISTICS]
|
||||||
|
- code churn: 6 files changed, 186 insertions(+), 48 deletions(-)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 8 06:46:31 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
Thu Nov 8 06:46:31 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Parallel-ForkManager
|
# spec file for package perl-Parallel-ForkManager
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,26 +16,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Parallel-ForkManager
|
|
||||||
Version: 2.02
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Parallel-ForkManager
|
%define cpan_name Parallel-ForkManager
|
||||||
Summary: Simple Parallel Processing Fork Manager
|
Name: perl-Parallel-ForkManager
|
||||||
|
Version: 2.30.0
|
||||||
|
Release: 0
|
||||||
|
# 2.03 -> normalize -> 2.30.0
|
||||||
|
%define cpan_version 2.03
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: Simple parallel processing fork manager
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Moo)
|
BuildRequires: perl(Moo) >= 1.001000
|
||||||
BuildRequires: perl(Moo::Role)
|
BuildRequires: perl(Moo::Role)
|
||||||
BuildRequires: perl(Test::More) >= 0.94
|
BuildRequires: perl(Test::More) >= 0.94
|
||||||
BuildRequires: perl(Test::Warn)
|
BuildRequires: perl(Test::Warn)
|
||||||
Requires: perl(Moo)
|
Requires: perl(Moo) >= 1.001000
|
||||||
Requires: perl(Moo::Role)
|
Requires: perl(Moo::Role)
|
||||||
|
Provides: perl(Parallel::ForkManager) = %{version}
|
||||||
|
Provides: perl(Parallel::ForkManager::Child) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -78,9 +81,9 @@ You must specify the maximum number of processes to be created. If you
|
|||||||
specify 0, then NO fork will be done; this is good for debugging purposes.
|
specify 0, then NO fork will be done; this is good for debugging purposes.
|
||||||
|
|
||||||
Next, use $pm->start to do the fork. $pm returns 0 for the child process,
|
Next, use $pm->start to do the fork. $pm returns 0 for the child process,
|
||||||
and child pid for the parent process (see also perlfunc(1p)/fork()). The
|
and child pid for the parent process (see also perlfunc/fork). The "and
|
||||||
"and next" skips the internal loop in the parent process. NOTE: $pm->start
|
next" skips the internal loop in the parent process. NOTE: $pm->start dies
|
||||||
dies if the fork fails.
|
if the fork fails.
|
||||||
|
|
||||||
$pm->finish terminates the child process (assuming a fork was done in the
|
$pm->finish terminates the child process (assuming a fork was done in the
|
||||||
"start").
|
"start").
|
||||||
@@ -90,14 +93,14 @@ you want to manage another set of subprocesses in the child process, you
|
|||||||
must instantiate another Parallel::ForkManager object!
|
must instantiate another Parallel::ForkManager object!
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -105,7 +108,6 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTORS doap.xml examples README.mkdn
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTORS doap.xml examples README.mkdn
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user