diff --git a/fix-pod-syntax.diff b/fix-pod-syntax.diff new file mode 100644 index 0000000..b150d5a --- /dev/null +++ b/fix-pod-syntax.diff @@ -0,0 +1,50 @@ +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. + diff --git a/gnu_parallel.changes b/gnu_parallel.changes index 5ced56f..3354132 100644 --- a/gnu_parallel.changes +++ b/gnu_parallel.changes @@ -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 diff --git a/gnu_parallel.spec b/gnu_parallel.spec index e767629..a37ffb7 100644 --- a/gnu_parallel.spec +++ b/gnu_parallel.spec @@ -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 +Patch0: 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 +%patch0 -p1 %build %configure --docdir="%_docdir/%name"