From 68f48aa515bad54a721d5c2240ada13a262eacbdbfb8feb684de34961179bba8 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Sun, 13 Aug 2023 12:55:40 +0000 Subject: [PATCH 1/2] Accepting request 1103700 from home:eeich:branches:network:cluster - Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh - Don't source /etc/os-release directly, use a subshell. OBS-URL: https://build.opensuse.org/request/show/1103700 OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=81 --- spack.changes | 6 ++++++ spack.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/spack.changes b/spack.changes index 3a333be..9ea0b2d 100644 --- a/spack.changes +++ b/spack.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 13 12:21:57 UTC 2023 - Egbert Eich + +- Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh +- Don't source /etc/os-release directly, use a subshell. + ------------------------------------------------------------------- Mon Jun 26 12:26:10 UTC 2023 - Egbert Eich diff --git a/spack.spec b/spack.spec index aff1771..b46883e 100644 --- a/spack.spec +++ b/spack.spec @@ -366,13 +366,13 @@ EOF # This file properly sets MODULEPATH so lua-lmod can find the modules created by spack mkdir -p %{buildroot}/%{_sysconfdir}/profile.d cat > %{buildroot}/%{_sysconfdir}/profile.d/spack.sh < Date: Sun, 13 Aug 2023 15:23:56 +0000 Subject: [PATCH 2/2] - Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh (bsc#1214222). OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=82 --- spack.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.changes b/spack.changes index 9ea0b2d..6e9e0e0 100644 --- a/spack.changes +++ b/spack.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Sun Aug 13 12:21:57 UTC 2023 - Egbert Eich -- Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh +- Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh (bsc#1214222). - Don't source /etc/os-release directly, use a subshell. -------------------------------------------------------------------