From 26643e754a66c8eea8c8d8586122ead54fec7c981f166e832d51bb50b53d073d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 5 Aug 2022 15:43:06 +0000 Subject: [PATCH] Accepting request 993344 from home:kukuk:branches:utilities - Use full path for perl interpreter to fix "/usr/bin/parallel: perl: bad interpreter: No such file or directory" OBS-URL: https://build.opensuse.org/request/show/993344 OBS-URL: https://build.opensuse.org/package/show/utilities/gnu_parallel?expand=0&rev=166 --- gnu_parallel.changes | 6 ++++++ gnu_parallel.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu_parallel.changes b/gnu_parallel.changes index 63036f0..8dd263b 100644 --- a/gnu_parallel.changes +++ b/gnu_parallel.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 5 14:58:48 UTC 2022 - Thorsten Kukuk + +- Use full path for perl interpreter to fix + "/usr/bin/parallel: perl: bad interpreter: No such file or directory" + ------------------------------------------------------------------- Mon Jul 25 06:31:00 UTC 2022 - Dirk Müller diff --git a/gnu_parallel.spec b/gnu_parallel.spec index 062d460..3c2390e 100644 --- a/gnu_parallel.spec +++ b/gnu_parallel.spec @@ -83,7 +83,7 @@ This subpackage contains the zsh completion for Parallel. cp -a CITATION NEWS README "%buildroot/%_docdir/%name/" # fix shebang to to not use env & preserve the time stamps -sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!perl:" "%buildroot/%_bindir/parallel" +sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!/usr/bin/perl:" "%buildroot/%_bindir/parallel" touch -r "%buildroot/%_bindir/parallel.orig" "%buildroot/%_bindir/parallel" rm "%buildroot/%_bindir/parallel.orig"