SHA256
1
0
forked from pool/spack

Accepting request 882406 from home:mslacken:sp

`spack external find` as nobody and not as root
  as the bzip2 binary is found and removed warning for this 
  corner case in rpmlinrc

OBS-URL: https://build.opensuse.org/request/show/882406
OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=16
This commit is contained in:
2021-03-31 15:51:48 +00:00
committed by Git OBS Bridge
parent 971afa3fa1
commit 4a67e53095
3 changed files with 9 additions and 4 deletions

View File

@@ -242,7 +242,7 @@ cp -r var/spack/* %{buildroot}%{_localstatedir}/lib/spack
cp -r bin/sbang %{buildroot}/%{_bindir}
cp -r bin/spack* %{buildroot}%{_bindir}/
cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/
cp %{S:3} %{buildroot}/%{spack_dir}
install -m 755 %{S:3} %{buildroot}/%{spack_dir}/run-find-external.sh
# Fix more paths
sed -i 's@\(\sroot:\) $spack/opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml