- Change /usr/bin to %{_bindir}.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=77
This commit is contained in:
parent
89e2eefb68
commit
c39f179959
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 26 12:26:10 UTC 2023 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- Change /usr/bin to %{_bindir}.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 11:32:36 UTC 2023 - Egbert Eich <eich@suse.com>
|
||||
|
||||
|
@ -250,9 +250,9 @@ gzip _build/texinfo/Spack.info _build/man/spack.1
|
||||
# with doc
|
||||
%endif
|
||||
cd -
|
||||
grep -rl '#! /usr/bin/env bash' . | xargs -i@ sed -i 's|#! /usr/bin/env bash|#!/usr/bin/bash|g' @
|
||||
grep -rl '#!/bin/env sh' . | xargs -i@ sed -i 's|#!/bin/env sh|#!/usr/bin/sh|g' @
|
||||
grep -rl '#!/usr/bin/env bash' . | xargs -i@ sed -i 's|#!/usr/bin/env bash|#!/usr/bin/bash|g' @
|
||||
grep -rl '#! /usr/bin/env bash' . | xargs -i@ sed -i 's|#! /usr/bin/env bash|#!%{_bindir}/bash|g' @
|
||||
grep -rl '#!/bin/env sh' . | xargs -i@ sed -i 's|#!/bin/env sh|#!%{_bindir}/sh|g' @
|
||||
grep -rl '#!/usr/bin/env bash' . | xargs -i@ sed -i 's|#!/usr/bin/env bash|#!%{_bindir}/bash|g' @
|
||||
grep -rl '/var/spack/repos' | grep -v "cmd/list.py" | \
|
||||
xargs -i@ sed -i 's|/var/spack/repos|/usr/share/spack/repos|g' @
|
||||
grep -rl "spack/" . | xargs -i@ sed -i \
|
||||
|
Loading…
Reference in New Issue
Block a user