-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperl-parallel-forker.spec
49 lines (39 loc) · 1.26 KB
/
perl-parallel-forker.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Name: perl-parallel-forker
Version: 1.260
Release: %autorelease
Summary: A perl library for managing parallel processes.
License: LGPL-3.0-only AND Artistic-2.0
URL: https://www.veripool.org/parallel-forker
Source: https://github.com/veripool/parallel-forker/archive/refs/tags/v%{version}/parallel-forker-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(Proc::ProcessTable)
Buildrequires: perl-generators
BuildRequires: perl-interpreter
%description
Parallel::Forker is a Perl package to manage parallel
processes that are either subroutines or system commands.
Parallel::Forker supports being able to specify complicated
expressions to determine which processes run after others,
or processes that run when processes others fail.
# No debug package required
%global debug_package %{nil}
%prep
%autosetup -n parallel-forker-%{version}
# tests fail without README
touch README
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
%make_build
%check
make test
%install
%make_install
%{_fixperms} %{buildroot}
%files
%license README.pod
%{perl_vendorlib}/*
%{_mandir}/man3/Parallel::Forker*
%changelog
%autochangelog