diff --git a/spack-rpmlintrc b/spack-rpmlintrc index 3bed81d..0b729a4 100644 --- a/spack-rpmlintrc +++ b/spack-rpmlintrc @@ -11,3 +11,8 @@ addFilter("non-standard-gid .* spack") # Spurious self-applying patches from an upstream source. # These are part of recipes and not intended to run as scripts. 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") diff --git a/spack.changes b/spack.changes index 3e86781..9974081 100644 --- a/spack.changes +++ b/spack.changes @@ -2,13 +2,14 @@ Tue Mar 30 14:31:26 UTC 2021 - Christian Goll - 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 - 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 @@ -22,7 +23,6 @@ Fri Feb 26 22:06:36 UTC 2021 - Egbert Eich distribution-release. ------------------------------------------------------------------- ->>>>>>> ./spack.changes.r6ab42661d49aaf33d7c9b12997157f78 Fri Feb 26 10:40:00 UTC 2021 - Christian Goll - update to version 0.16.1 diff --git a/spack.spec b/spack.spec index 0b8fe3d..8089c2e 100644 --- a/spack.spec +++ b/spack.spec @@ -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