avoid munging search pattern
OBS-URL: https://build.opensuse.org/package/show/utilities/gnu_parallel?expand=0&rev=164
This commit is contained in:
parent
bcd804005b
commit
9a632678b0
@ -83,7 +83,7 @@ This subpackage contains the zsh completion for Parallel.
|
|||||||
cp -a CITATION NEWS README "%buildroot/%_docdir/%name/"
|
cp -a CITATION NEWS README "%buildroot/%_docdir/%name/"
|
||||||
|
|
||||||
# fix shebang to to not use env & preserve the time stamps
|
# fix shebang to to not use env & preserve the time stamps
|
||||||
sed -i.orig "s:^#\!%{_bindir}/env\s\+perl\s\?$:#!%__perl:" "%buildroot/%_bindir/parallel"
|
sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!perl:" "%buildroot/%_bindir/parallel"
|
||||||
touch -r "%buildroot/%_bindir/parallel.orig" "%buildroot/%_bindir/parallel"
|
touch -r "%buildroot/%_bindir/parallel.orig" "%buildroot/%_bindir/parallel"
|
||||||
rm "%buildroot/%_bindir/parallel.orig"
|
rm "%buildroot/%_bindir/parallel.orig"
|
||||||
|
|
||||||
@ -98,10 +98,10 @@ rm "%buildroot/%_bindir/parallel.orig"
|
|||||||
%_mandir/man7/*.7*
|
%_mandir/man7/*.7*
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
%{_datadir}/bash-completion/completions/parallel
|
%_datadir/bash-completion/
|
||||||
|
|
||||||
%files zsh-completion
|
%files zsh-completion
|
||||||
%{_datadir}/zsh/site-functions/_parallel
|
%_datadir/zsh/
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%_docdir/%name/
|
%_docdir/%name/
|
||||||
|
Loading…
Reference in New Issue
Block a user