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:
Christian Goll 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

@ -11,3 +11,8 @@ addFilter("non-standard-gid .* spack")
# Spurious self-applying patches from an upstream source. # Spurious self-applying patches from an upstream source.
# These are part of recipes and not intended to run as scripts. # These are part of recipes and not intended to run as scripts.
addFilter("non-executable-script /var/lib/spack/repos.*") addFilter("non-executable-script /var/lib/spack/repos.*")
# Spack is used for building other software, so when it finds e.g
# the bzip binary it assumes that the devel libraries are also installed.
# So ignore the warnings:
addFilter("devel-dependency libbz2-devel")
addFilter("explicit-lib-dependency libbz2-devel")

View File

@ -2,13 +2,14 @@
Tue Mar 30 14:31:26 UTC 2021 - Christian Goll <cgoll@suse.com> Tue Mar 30 14:31:26 UTC 2021 - Christian Goll <cgoll@suse.com>
- added run-find-external.sh which calls the command in post - added run-find-external.sh which calls the command in post
`sack external find` as nobody and not as root `spack external find` as nobody and not as root
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 23 08:32:49 UTC 2021 - Christian Goll <cgoll@suse.com> Tue Mar 23 08:32:49 UTC 2021 - Christian Goll <cgoll@suse.com>
- added libbz2-devel as dependency as spack requires this, as soon - added libbz2-devel as dependency as spack requires this, as soon
as the bzip2 binary is found as the bzip2 binary is found and removed warning for this
corner case in rpmlinrc
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 19 15:04:20 UTC 2021 - Christian Goll <cgoll@suse.com> Fri Mar 19 15:04:20 UTC 2021 - Christian Goll <cgoll@suse.com>
@ -22,7 +23,6 @@ Fri Feb 26 22:06:36 UTC 2021 - Egbert Eich <eich@suse.com>
distribution-release. distribution-release.
------------------------------------------------------------------- -------------------------------------------------------------------
>>>>>>> ./spack.changes.r6ab42661d49aaf33d7c9b12997157f78
Fri Feb 26 10:40:00 UTC 2021 - Christian Goll <cgoll@suse.com> Fri Feb 26 10:40:00 UTC 2021 - Christian Goll <cgoll@suse.com>
- update to version 0.16.1 - update to version 0.16.1

View File

@ -242,7 +242,7 @@ cp -r var/spack/* %{buildroot}%{_localstatedir}/lib/spack
cp -r bin/sbang %{buildroot}/%{_bindir} cp -r bin/sbang %{buildroot}/%{_bindir}
cp -r bin/spack* %{buildroot}%{_bindir}/ cp -r bin/spack* %{buildroot}%{_bindir}/
cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ 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 # Fix more paths
sed -i 's@\(\sroot:\) $spack/opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml sed -i 's@\(\sroot:\) $spack/opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml