1
0
forked from pool/gnu_parallel

Accepting request 180372 from utilities

- add fix-pod-syntax.diff to fix build with perl 5.18 (forward from coolo)

OBS-URL: https://build.opensuse.org/request/show/180372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu_parallel?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-06-25 07:26:13 +00:00 committed by Git OBS Bridge
commit d06a1fab80
3 changed files with 61 additions and 0 deletions

54
fix-pod-syntax.diff Normal file
View File

@ -0,0 +1,54 @@
From: Stephan Kulow <coolo@suse.com>
Date: Thu, 20 Jun 2013 13:36:51 +0200
References: http://lists.opensuse.org/opensuse-factory/2013-06/msg00383.html
Index: parallel-20130422/src/parallel.pod
===================================================================
--- parallel-20130422.orig/src/parallel.pod
+++ parallel-20130422/src/parallel.pod
@@ -528,18 +528,18 @@ Print a summary of the options to GNU B<
=over 3
-=item 0
+=item Z<>0
Do not halt if a job fails. Exit status will be the number of jobs
failed. This is the default.
-=item 1
+=item Z<>1
Do not start new jobs if a job fails, but complete the running jobs
including cleanup. The exit status will be the exit status from the
last failing job.
-=item 2
+=item Z<>2
Kill off all jobs immediately and exit without cleanup. The exit
status will be the exit status from the failing job.
@@ -2752,19 +2752,19 @@ If B<--halt-on-error> 0 or not specified
=over 6
-=item 0
+=item Z<>0
All jobs ran without error.
-=item 1-253
+=item Z<>1-253
Some of the jobs failed. The exit status gives the number of failed jobs
-=item 254
+=item Z<>254
More than 253 jobs failed.
-=item 255
+=item Z<>255
Other error.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 20 11:36:03 UTC 2013 - coolo@suse.com
- add fix-pod-syntax.diff to fix build with perl 5.18
-------------------------------------------------------------------
Wed May 8 17:30:12 UTC 2013 - jengelh@inai.de

View File

@ -28,6 +28,7 @@ Url: http://www.gnu.org/software/parallel/
Source: http://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2
Source2: http://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2.sig
Source3: %name.keyring
Patch1: fix-pod-syntax.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if 0%{?suse_version}
@ -49,6 +50,7 @@ commands in parallel.
%prep
%{?gpg_verify: %gpg_verify %{S:2}}
%setup -qn parallel-%version
%patch -P 1 -p1
%build
%configure --docdir="%_docdir/%name"