commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2024-04-18 22:13:31 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.26366 (New) Package is "spack" Thu Apr 18 22:13:31 2024 rev:43 rq:1168847 version:0.21.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2024-04-04 22:28:38.076559452 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.26366/spack.changes 2024-04-18 22:14:41.138068527 +0200 @@ -1,0 +2,6 @@ +Thu Apr 18 06:54:54 UTC 2024 - Egbert Eich + +- Add lsb-release and zstd as new requires to match upstream + prerequisites. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.SFy1kZ/_old 2024-04-18 22:14:41.742090738 +0200 +++ /var/tmp/diff_new_pack.SFy1kZ/_new 2024-04-18 22:14:41.742090738 +0200 @@ -102,6 +102,7 @@ Requires: gpg2 Requires: gzip Requires: libbz2-devel +Requires: lsb-release Requires: make Requires: patch Requires: polkit @@ -109,6 +110,7 @@ Requires: tar Requires: unzip Requires: xz +Requires: zstd Requires: (patchelf if (product(SUSE_SLE) >= 15.6 or product(Leap) or product(openSUSE))) Recommends: %spack_trigger_recommended_packages %spack_trigger_recommended_compilers Recommends: lua-lmod
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2024-03-15 20:32:27 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1905 (New) Package is "spack" Fri Mar 15 20:32:27 2024 rev:40 rq:1158279 version:0.21.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2024-02-12 18:55:38.429931869 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1905/spack.changes2024-03-15 20:33:18.636539957 +0100 @@ -1,0 +2,23 @@ +Fri Mar 15 13:35:51 UTC 2024 - Egbert Eich + +- Update Spack to version 0.21.2 + * Bugfixes ++ Containerize: accommodate nested or pre-existing `spack-env` + paths. ++ Fix `setup-env` script, when going back and forth between + instances. ++ Fix using fully-qualified namespaces from root specs. ++ Fix a bug when a required provider is requested for multiple + virtuals. ++ OCI buildcaches: + * only push in parallel when forking. + * use pickleable errors (#42160) ++ Fix using sticky variants in externals. ++ Fix a rare issue with conditional requirements and + multi-valued variants. + * Package updates ++ `rust`: add v1.75, rework a few variants. ++ `py-transformers`: add v4.35.2. +- Fix path to setup-env.sh in the Apptainer template (bsc#1221471). + +--- Old: spack-0.21.1.tar.gz New: spack-0.21.2.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.qHXQPB/_old 2024-03-15 20:33:19.416568684 +0100 +++ /var/tmp/diff_new_pack.qHXQPB/_new 2024-03-15 20:33:19.420568832 +0100 @@ -53,7 +53,7 @@ %define mypython python%{?mypyver} Name: spack -Version:0.21.1 +Version:0.21.2 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause @@ -324,6 +324,7 @@ cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ install -m 755 %{S:3} %{buildroot}/%{spack_dir}/run-find-external.sh sed -i -e 's#@@_sysconfdir@@#%{_sysconfdir}#' %{buildroot}/%{spack_dir}/run-find-external.sh +sed -i -e '/. \/opt/s#/opt/spack/#/usr/share/#' %{buildroot}/%{_datarootdir}/spack/templates/container/singularity.def # Make spack only to write to home dir of user, if run as user sed -i 's@\(\sroot:\) /opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml ++ spack-0.21.1.tar.gz -> spack-0.21.2.tar.gz ++ /work/SRC/openSUSE:Factory/spack/spack-0.21.1.tar.gz /work/SRC/openSUSE:Factory/.spack.new.1905/spack-0.21.2.tar.gz differ: char 16, line 1
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2024-02-12 18:53:19 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1815 (New) Package is "spack" Mon Feb 12 18:53:19 2024 rev:39 rq:1146129 version:0.21.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2024-02-02 15:48:20.218989256 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1815/spack.changes2024-02-12 18:55:38.429931869 +0100 @@ -1,0 +2,6 @@ +Fri Feb 2 14:41:14 UTC 2024 - Egbert Eich + +- Make python version used configurable. +- Filter out more rpmlint errors. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.L9dAMc/_old 2024-02-12 18:55:39.165958448 +0100 +++ /var/tmp/diff_new_pack.L9dAMc/_new 2024-02-12 18:55:39.173958737 +0100 @@ -19,11 +19,10 @@ %global flavor @BUILD_FLAVOR@%{?nil} %if "%{flavor}" == "doc" %bcond_without doc -%ifarch i586 %arm s390 s390x %power64 ppc -ExclusiveArch: do_not_build -%endif %endif +ExcludeArch:i586 %arm s390 s390x %power64 ppc + %if %{with doc} && (0%{?sle_version} > 0) && (150200 >= 0%{?sle_version}) ExclusiveArch: do_not_build %endif @@ -45,6 +44,14 @@ # non oss packages %define spack_trigger_external cuda-nvcc + +%if 0%{?sle_version} <= 120500 && !0%{?is_opensuse} +%define __python3 python3 +%endif + +%define mypyver 3 +%define mypython python%{?mypyver} + Name: spack Version:0.21.1 Release:0 @@ -67,12 +74,13 @@ Patch8: Set-modules-default-to-lmod.patch Patch9: Add-support-for-container-building-using-a-SLE-base-container.patch %if %{without doc} +BuildRequires: %{mypython}-urllib3 BuildRequires: fdupes BuildRequires: lua-lmod BuildRequires: polkit -BuildRequires: python3-urllib3 BuildRequires: sudo BuildRequires: sysuser-tools +Requires: %{mypython}-clingo Requires: %{name}-recipes = %{version} Requires: awk Requires: bzip2 @@ -87,7 +95,6 @@ Requires: make Requires: patch Requires: polkit -Requires: python3-clingo Requires: sudo Requires: tar Requires: unzip @@ -100,21 +107,18 @@ BuildRequires: git BuildRequires: makeinfo # Hardcode this - there is no python2 version of this around any more. -BuildRequires: python3-Sphinx >= 3.4 -BuildRequires: python3-sphinxcontrib-programoutput +BuildRequires: %{mypython}-Sphinx >= 3.4 +BuildRequires: %{mypython}-sphinxcontrib-programoutput BuildRequires: spack # html BuildRequires: graphviz # info BuildRequires: graphviz-gnome ## pdf -# BuildRequires: python3-Sphinx-latex -Requires: spack +# BuildRequires: %{mypython}-Sphinx-latex +Recommends: spack %endif BuildArch: noarch -%if 0%{?sle_version} <= 120500 && !0%{?is_opensuse} -%define __python3 python3 -%endif %description Spack is a configurable Python-based HPC package manager, automating @@ -252,9 +256,11 @@ # with doc %endif cd - -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 '#! /usr/bin/env bash' . | xargs -i@ sed -i '1s|#! /usr/bin/env bash|#!%{_bindir}/bash|g' @ +grep -rl '#!/bin/env sh' . | xargs -i@ sed -i '1s|#!/bin/env sh|#!%{_bindir}/sh|g' @ +grep -rl '#!/usr/bin/env bash' . | xargs -i@ sed -i '1s|#!/usr/bin/env bash|#!%{_bindir}/bash|g' @ +grep -rl '#![[:space:]]*/usr/bin/env python' | \ +xargs -i@ sed -i '1s|#![[:space:]]*/usr/bin/env python|#!%{_bindir}/%{mypython}|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 \ @@ -335,9 +341,9 @@ lmod: ~/spack/modules EOF -# compile python files for python3 +# compile python files for %{mypython} # %%{buildroot}%%{spack_dir}/spack -%py3_compile . +%{expand:%{py%{?mypyver}_compile .}} # make shell scripts executeable find %{buildroot}%{_localstatedir}/lib/spack/ -type f -name \*.sh -exec chmod 755 {} \; ++ spack-rpmlintrc ++ --- /var/tmp/diff_new_pack.L9dAMc/_old 2024-02-12 18:55:39.317963937 +0100 +++ /var/tmp/diff_new_pack.L9dAMc/_new 2024-02-12 18:55:39.321964082 +0100 @@ -11,9 +11,15 @@ # 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.*")
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-11-07 21:29:08 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.17445 (New) Package is "spack" Tue Nov 7 21:29:08 2023 rev:37 rq:1124071 version:0.20.3 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-09-13 20:45:28.236014318 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.17445/spack.changes 2023-11-07 21:29:49.499172622 +0100 @@ -1,0 +2,28 @@ +Mon Nov 6 08:04:55 UTC 2023 - Bernhard Wiedemann + +- Update to version 0.20.3 with the following changes: + * Bug fixes: ++ Fix a bug where `spack mirror set-url` would drop configured + connection info. ++ Fix a minor issue with package hash computation for Python 3.12. ++ Improve escaping in Tcl module files. ++ Make repo cache work on repositories with zero mtime. ++ Ignore errors for newer, incompatible buildcache version. ++ Print an error when git is required, but missing. ++ Ensure missing build dependencies get installed when using + `spack install --overwrite`. ++ Fix an issue where Spack freezes when the build process + unexpectedly exits. ++ Fix a bug where installation failures cause an unrelated + `NameError` to be thrown. ++ Fix an issue where Spack package versions would be incorrectly + derived from git tags. ++ Fix a bug triggered when file locking fails internally. ++ Prevent `spack external find` to error out when a directory + cannot be accessed. ++ Fix multiple performance regressions in environments. ++ Add more ignored modules to `pyproject.toml` for `mypy`. + * Features: ++ Spack now supports Python 3.12. + +--- Old: spack-0.20.1.tar.gz New: spack-0.20.3.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.soD1Uf/_old 2023-11-07 21:29:50.103194864 +0100 +++ /var/tmp/diff_new_pack.soD1Uf/_new 2023-11-07 21:29:50.107195011 +0100 @@ -46,7 +46,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.20.1 +Version:0.20.3 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause ++ Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch ++ --- /var/tmp/diff_new_pack.soD1Uf/_old 2023-11-07 21:29:50.131195896 +0100 +++ /var/tmp/diff_new_pack.soD1Uf/_new 2023-11-07 21:29:50.135196043 +0100 @@ -10,13 +10,13 @@ lib/spack/spack/environment/environment.py | 4 1 file changed, 4 insertions(+) -diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py -index a4312df6dc..10bfbd2a4d 100644 a/lib/spack/spack/environment/environment.py -+++ b/lib/spack/spack/environment/environment.py -@@ -41,6 +41,10 @@ +Index: spack-0.20.3/lib/spack/spack/environment/environment.py +=== +--- spack-0.20.3.orig/lib/spack/spack/environment/environment.py spack-0.20.3/lib/spack/spack/environment/environment.py +@@ -40,6 +40,10 @@ import spack.stage + import spack.store import spack.subprocess_context - import spack.traverse import spack.user_environment as uenv +try: +import spack.user_environment as uenv @@ -25,7 +25,4 @@ import spack.util.cpus import spack.util.environment import spack.util.hash --- -2.40.1 - ++ spack-0.20.1.tar.gz -> spack-0.20.3.tar.gz ++ /work/SRC/openSUSE:Factory/spack/spack-0.20.1.tar.gz /work/SRC/openSUSE:Factory/.spack.new.17445/spack-0.20.3.tar.gz differ: char 47, line 1
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-09-13 20:44:28 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1766 (New) Package is "spack" Wed Sep 13 20:44:28 2023 rev:36 rq:1110682 version:0.20.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-08-14 22:35:59.384503887 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1766/spack.changes2023-09-13 20:45:28.236014318 +0200 @@ -1,0 +2,25 @@ +Tue Sep 12 05:32:46 UTC 2023 - Egbert Eich + +- Update to version 0.20.1 with the following changes: + * Bug fixes: ++ Fix spec removed from an environment where not actually + removed if `--force` was not given. ++ Hotfix for a few recipes that treat CMake as a link + dependency. ++ Fix re-running stand-alone test a second time, which was + getting a trailing spurious failure. ++ Fix reading JSON manifest on Cray, reporting non-concrete + specs. ++ Fix a few bugs when generating Dockerfiles from Spack. ++ Fix a few long-standing bugs when generating module files. ++ Fix issues with building Python extensions when using an + external Python. ++ Fix `spack compiler remove`: remove from command line even + if they appear in different scopes. + * Features: ++ Speed-up module file generation. ++ Show external status as `[e]`. ++ Backport `archspec` fixes. ++ Improve a few error messages. + +--- Old: spack-0.20.0.tar.gz New: spack-0.20.1.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.oGoudJ/_old 2023-09-13 20:45:30.192083859 +0200 +++ /var/tmp/diff_new_pack.oGoudJ/_new 2023-09-13 20:45:30.196084001 +0200 @@ -46,7 +46,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.20.0 +Version:0.20.1 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause ++ spack-0.20.0.tar.gz -> spack-0.20.1.tar.gz ++ /work/SRC/openSUSE:Factory/spack/spack-0.20.0.tar.gz /work/SRC/openSUSE:Factory/.spack.new.1766/spack-0.20.1.tar.gz differ: char 29, line 1
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-08-14 22:35:47 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.11712 (New) Package is "spack" Mon Aug 14 22:35:47 2023 rev:35 rq:1103772 version:0.20.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-06-27 23:17:54.635830839 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.11712/spack.changes 2023-08-14 22:35:59.384503887 +0200 @@ -1,0 +2,6 @@ +Sun Aug 13 12:21:57 UTC 2023 - Egbert Eich + +- Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh (bsc#1214222). +- Don't source /etc/os-release directly, use a subshell. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.05jd8I/_old 2023-08-14 22:36:00.336509939 +0200 +++ /var/tmp/diff_new_pack.05jd8I/_new 2023-08-14 22:36:00.336509939 +0200 @@ -366,13 +366,13 @@ # 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 <
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-06-27 23:17:42 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.15902 (New) Package is "spack" Tue Jun 27 23:17:42 2023 rev:34 rq:1095551 version:0.20.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-06-04 00:12:25.689471461 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.15902/spack.changes 2023-06-27 23:17:54.635830839 +0200 @@ -1,0 +2,9 @@ +Mon Jun 26 12:26:10 UTC 2023 - Egbert Eich + +- Add hwloc-devel and sqlite3 to the packages that trigger a + `spack external find`. +- Change /usr/bin to %{_bindir}. +- Make sure, libhwloc and hwloc are installed together when + spack is installed. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.ibc0Ch/_old 2023-06-27 23:17:55.463835711 +0200 +++ /var/tmp/diff_new_pack.ibc0Ch/_new 2023-06-27 23:17:55.467835735 +0200 @@ -39,7 +39,7 @@ %define spack_trigger_recommended_compilers gcc gcc-c++ gcc-fortran # packages recognized by spack, but not recommended -%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mpich-gnu-hpc-devel mvapich2-devel mpich-devel +%define spack_trigger_packages ghostscript go fish fzf hwloc-devel hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby sqlite3 openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mpich-gnu-hpc-devel mvapich2-devel mpich-devel %define spack_trigger_compilers gcc7 gcc8 gcc9 gcc10 gcc11 gcc12 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc12-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran gcc12-fortran @@ -94,6 +94,8 @@ Requires: unzip Requires: xz Recommends: %spack_trigger_recommended_packages %spack_trigger_recommended_compilers +Requires: (hwloc if hwloc-devel) +Requires: (hwloc-devel if hwloc) %else BuildRequires: git BuildRequires: makeinfo @@ -206,7 +208,7 @@ case $1 in --*) shift ;; graph|spec|unit-test) exit 0 ;; -*) exec /usr/bin/spack ${args} ;; +*) exec %{_bindir}/spack ${args} ;; esac; done exit 0' > $tmpdir/spack @@ -231,10 +233,10 @@ - compiler: spec: gcc@7.5.0 paths: - cc: /usr/bin/gcc - cxx: /usr/bin/g++ - f77: /usr/bin/gfortran - fc: /usr/bin/gfortran + cc: %{_bindir}/gcc + cxx: %{_bindir}/g++ + f77: %{_bindir}/gfortran + fc: %{_bindir}/gfortran flags: {} operating_system: SUSE target: x86_64 @@ -250,9 +252,9 @@ # 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 \ @@ -347,10 +349,10 @@ - compiler: spec: gcc@GCC_FULL_VERSION paths: - cc: /usr/bin/gcc-GCC_VERSION - cxx: /usr/bin/g++-GCC_VERSION - f77: /usr/bin/gfortran-GCC_VERSION - fc: /usr/bin/gfortran-GCC_VERSION + cc: %{_bindir}/gcc-GCC_VERSION + cxx: %{_bindir}/g++-GCC_VERSION + f77: %{_bindir}/gfortran-GCC_VERSION + fc: %{_bindir}/gfortran-GCC_VERSION flags: {} operating_system: SUSE_VERSION target: HOSTTYPE
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-06-04 00:12:24 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.15902 (New) Package is "spack" Sun Jun 4 00:12:24 2023 rev:33 rq:1090534 version:0.20.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-05-04 17:11:31.912701271 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.15902/spack.changes 2023-06-04 00:12:25.689471461 +0200 @@ -1,0 +2,57 @@ +Thu Jun 1 11:32:36 UTC 2023 - Egbert Eich + +- Do not attempt to build documentation for 32-bit, s390x and + ppc64*. There are build issues on some build targets. + +--- +Mon May 22 14:40:17 UTC 2023 - Christian Goll + +- Update to version 0.20.0 with the following features: + * Exact versions: Spack did not previously have a way to distinguish a +version if it was a prefix of some other version. For example, @3.2 would +match 3.2, 3.2.1, 3.2.2, etc. You can now match exactly 3.2 with @=3.2. +This is useful, for example, if you need to patch only the 3.2 version of a +package + * More stable concretization: Now, spack concretize will only concretize the +new portions of the environment and will not change existing parts of an +environment unless you specify --force. This has always been true for +unify:false, but not for unify:true and unify:when_possible environments. + * The concretizer has a new --reuse-deps argument that only reuses dependencies. +That is, it will always treat the roots of your environment as it would with +--fresh. This allows you to upgrade just the roots of your environment while +keeping everything else stable + * Specs in buildcaches can be referenced by hash: Previously, you could run +spack buildcache list and see the hashes in buildcaches, but referring to +them by hash would fail. You can now run commands like spack spec and +spack install and refer to buildcache hashes directly, e.g. spack install +/abc123 + * New package and buildcache index websites +Our public websites for searching packages have been completely revamped +and updated. You can check them out here: + Package Index: https://packages.spack.io + Buildcache Index: https://cache.spack.io +Both are searchable and more interactive than before. Currently major +releases are shown; UI for browsing develop snapshots is coming soon. + * Default CMake and Meson build types are now Release: Spack has historically +defaulted to building with optimization and debugging, but packages like +llvm can be enormous with debug turned on. Our default build type for all +Spack packages is now Release. This has a number of benefits: + much smaller binaries; + higher default optimization level; and +defining NDEBUG disables assertions, which may lead to further speedups. +You can still get the old behavior back through requirements and package +preferences + * spack checksum can automatically add new versions to package + * new command: spack pkg grep to easily search package files + * New maintainers directive + * Add spack buildcache push (alias to buildcache create) + * Allow using -j to control the parallelism of concretization + * Add --exclude option to 'spack external find' +requires() directive and enhanced package requirements We've added some +more enhancements to requirements in Spack. There is a new requires() +directive for packages. requires() is the opposite of conflicts() + +- removed Add-zypper-to-the-valid-container.os_packages-commands.patch + as incoperated upstream + +--- Old: Add-zypper-to-the-valid-container.os_packages-commands.patch spack-0.19.2.tar.gz New: spack-0.20.0.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.DgEl0G/_old 2023-06-04 00:12:26.393475669 +0200 +++ /var/tmp/diff_new_pack.DgEl0G/_new 2023-06-04 00:12:26.397475693 +0200 @@ -19,6 +19,9 @@ %global flavor @BUILD_FLAVOR@%{?nil} %if "%{flavor}" == "doc" %bcond_without doc +%ifarch i586 %arm s390 s390x %power64 ppc +ExclusiveArch: do_not_build +%endif %endif %if %{with doc} && (0%{?sle_version} > 0) && (150200 >= 0%{?sle_version}) @@ -43,7 +46,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.19.2 +Version:0.20.0 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-05-04 17:11:12 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1533 (New) Package is "spack" Thu May 4 17:11:12 2023 rev:32 rq:1084588 version:0.19.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-03-30 22:52:41.321031271 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1533/spack.changes2023-05-04 17:11:31.912701271 +0200 @@ -1,0 +2,58 @@ +Mon Apr 17 06:59:15 UTC 2023 - Egbert Eich + +- Update to version 0.19.2 with the following bug fixes: + * Ignore global variant requirement for packages that do not define it. + * Compiler wrapper: improved parsing of linker arguments. + * Views: fix support for optional Python extensions. + * Views: fix issue where Python executable gets symlinked instead of copied. + * Fix a bug where tests were not added when concretizing together. + * Increase db timeout from 3s to 60s to improve stability of parallel +installs. + * Buildcache: improve error handling in downloads. + * Module files for packages installed from buildcache have long placeholder +paths abbreviated in configure args section. + * Ensure file with build environment variables is truncated when writing +to it. + * spack config update now works on active environments; +- Add: + Add-zypper-to-the-valid-container.os_packages-commands.patch + This adds `zypper` to the valid OS package managers that can + be specified in a slack.yaml container description like: + spack: +... +container: + .. + os_packages: +command: zypper + .. +- Add: spack_get_libs.sh + This scripts obtains library and include paths for spack-build + libraries and outputs shell commands which set these as + environment variables. + Additionally, it generates a command line to prepend these lib + directories to LD_LIBRARY_PATH. Thus, the variables can be set + in the current shell by running `source $(spack_get_libs.sh foo)`. + When using `bash` this script may also be sourced directly. + The names of the environment variables are the upper-cased library + names with the strings 'LIB_' and 'INC_' prepended. Thus, for a + library 'foo', they would be 'INC_FOO' and 'LIB_FOO'. + These variables may be used at build time to point the compiler + to the include and library files (bsc#1208751). +- Drop: + Make-sure-spack-environment-is-set-up-in-Dockerfile-template.patch + This patch should not be needed. When building using `podman` use: + `podman build --format docker ...` to enable the non-OCI compliant + instructions in a Dockerfile. +- Add info, makeinfo, libcurl-devel, patchelf to the recommended + packages to add. + Fix: openssl-devel -> libopenssl-devel + +--- +Thu Apr 6 09:30:50 UTC 2023 - Egbert Eich + +- Add 'zypper' as valid command to container.os_packages. This + allows to build SUSE container using non-default registries. +- Add 'awk', 'git', 'gzip' and 'gunzip' to the requires. +- Add 'patchelf' to the recommended packages. + +--- Old: Make-sure-spack-environment-is-set-up-in-Dockerfile-template.patch spack-0.19.1.tar.gz New: Add-zypper-to-the-valid-container.os_packages-commands.patch spack-0.19.2.tar.gz spack_get_libs.sh Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.JYFvOK/_old 2023-05-04 17:11:32.604705322 +0200 +++ /var/tmp/diff_new_pack.JYFvOK/_new 2023-05-04 17:11:32.608705346 +0200 @@ -31,7 +31,7 @@ # These packages are found and can be used by spack, %{_sysconfdir}/spack/packages-yaml # needs to be updated when one of these packages is updated or uninstalled. # Distinguish between packages we recommend and packages which -%define spack_trigger_recommended_packages autoconf bash bison bzip2 libzip-devel cmake-full ccache cpio diffutils findutils flex git-lfs make m4 ncurses-devel libtool openssl-devel perl-base pkgconf pkg-config python3-base tar info xz xz-devel +%define spack_trigger_recommended_packages autoconf bash bison bzip2 libzip-devel cmake-full ccache cpio diffutils findutils flex git-lfs info make makeinfo m4 ncurses-devel libtool libcurl-devel libopenssl-devel perl-base pkgconf pkg-config python3-base tar xz xz-devel patchelf %define spack_trigger_recommended_compilers gcc gcc-c++ gcc-fortran @@ -43,7 +43,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.19.1 +Version:0.19.2 Release:0 Summary:
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-03-30 22:52:40 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.31432 (New) Package is "spack" Thu Mar 30 22:52:40 2023 rev:31 rq:1075574 version:0.19.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-03-24 15:21:51.975340058 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.31432/spack.changes 2023-03-30 22:52:41.321031271 +0200 @@ -1,0 +2,9 @@ +Thu Mar 30 09:34:39 UTC 2023 - Egbert Eich + +- Avoid running run-find-external.sh twice during installation/ + update. +- Stop accidental inclusion of %%pre/post/triggerin/un scripts + in doc packages. +- Adpot new info file installation sceme for Factory. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.GZv7JL/_old 2023-03-30 22:52:44.233046855 +0200 +++ /var/tmp/diff_new_pack.GZv7JL/_new 2023-03-30 22:52:44.273047069 +0200 @@ -28,7 +28,7 @@ %define spack_dir %_prefix/lib/spack/ %define spack_group spack -# These packages are found and can be used by spack, /etc/spack/packages-yaml +# These packages are found and can be used by spack, %{_sysconfdir}/spack/packages-yaml # needs to be updated when one of these packages is updated or uninstalled. # Distinguish between packages we recommend and packages which %define spack_trigger_recommended_packages autoconf bash bison bzip2 libzip-devel cmake-full ccache cpio diffutils findutils flex git-lfs make m4 ncurses-devel libtool openssl-devel perl-base pkgconf pkg-config python3-base tar info xz xz-devel @@ -151,6 +151,10 @@ %package info Summary:Info Page for Spack - Package manager for HPC systems Requires: info +%if 0%{?suse_version} <= 1500 +Requires(post): %{install_info_prereq} +Requires(pre): %{install_info_prereq} +%endif %description info Spack is a configurable Python-based HPC package manager, automating @@ -278,10 +282,6 @@ rm -f lib/spack/external/macholib/macho_*.py ## Remove non linux stuff rm -f bin/spack.bat bin/spack_cmd.bat bin/spack_pwsh.ps1 -## Fix shebangs -#sed -i 's@#!/bin/env sh@#!/bin/bash@' var/spack/repos/builtin/packages/beast-tracer/tracer -#sed -i 's@#! /usr/bin/env bash@ #!/bin/bash@' share/spack/docker/entrypoint.bash -#sed -i 's@#!/usr/bin/env bash@#!/bin/bash@' share/spack/docker/package-index/split.sh mkdir -p %{buildroot}%{spack_dir} mkdir -p %{buildroot}%{spack_dir}/opt @@ -331,7 +331,7 @@ # make shell scripts executeable find %{buildroot}%{_localstatedir}/lib/spack/ -type f -name \*.sh -exec chmod 755 {} \; -# Create /etc/spack/compilers.yaml +# Create %{_sysconfdir}/spack/compilers.yaml mkdir -p %{buildroot}%{spack_dir}/etc/spack/ cat > %{buildroot}%{spack_dir}/etc/spack/compilers.yaml < %{buildroot}/%{_sysconfdir}/profile.d/spack.sh <
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-03-24 15:21:38 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.31432 (New) Package is "spack" Fri Mar 24 15:21:38 2023 rev:30 rq:1074104 version:0.19.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-03-09 17:46:42.399216628 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.31432/spack.changes 2023-03-24 15:21:51.975340058 +0100 @@ -1,0 +2,7 @@ +Thu Mar 23 09:59:40 UTC 2023 - Egbert Eich + +- run-find-external.sh: Extend the range of versions of MPI + flavors to be searched for when asking Spack to look + for external packages (bsc#1208751). + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.aDMnYo/_old 2023-03-24 15:21:52.759344146 +0100 +++ /var/tmp/diff_new_pack.aDMnYo/_new 2023-03-24 15:21:52.763344167 +0100 @@ -36,7 +36,7 @@ %define spack_trigger_recommended_compilers gcc gcc-c++ gcc-fortran # packages recognized by spack, but not recommended -%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel +%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mpich-gnu-hpc-devel mvapich2-devel mpich-devel %define spack_trigger_compilers gcc7 gcc8 gcc9 gcc10 gcc11 gcc12 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc12-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran gcc12-fortran ++ run-find-external.sh.in ++ --- /var/tmp/diff_new_pack.aDMnYo/_old 2023-03-24 15:21:52.847344604 +0100 +++ /var/tmp/diff_new_pack.aDMnYo/_new 2023-03-24 15:21:52.851344625 +0100 @@ -65,11 +65,9 @@ addpath mypath /usr/lib64/mpi/gcc/openmpi1/bin addpath mypath /usr/lib64/mpi/gcc/mvapich2/bin addpath mypath /usr/lib64/mpi/gcc/mpich/bin -addpath mypath /usr/lib/hpc/gnu*/mpi/openmpi/4.*/bin -addpath mypath /usr/lib/hpc/gnu*/mpi/openmpi/3.*/bin -addpath mypath /usr/lib/hpc/gnu*/mpi/openmpi/2.*/bin -addpath mypath /usr/lib/hpc/gnu*/mpi/mpich/3.*/bin -addpath mypath /usr/lib/hpc/gnu*/mpi/mvapich2/2.*/bin +addpath mypath /usr/lib/hpc/gnu*/mpi/openmpi/[2-9].*/bin +addpath mypath /usr/lib/hpc/gnu*/mpi/mpich/[3-9].*/bin +addpath mypath /usr/lib/hpc/gnu*/mpi/mvapich2/[2-9].*/bin addpath cpath /usr/lib/hpc/compiler/gnu/*/bin # test if we can run as nobody
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-03-09 17:46:39 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.31432 (New) Package is "spack" Thu Mar 9 17:46:39 2023 rev:29 rq:1070345 version:0.19.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-03-02 23:03:59.231943174 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.31432/spack.changes 2023-03-09 17:46:42.399216628 +0100 @@ -1,0 +2,8 @@ +Wed Mar 8 19:54:55 UTC 2023 - Egbert Eich + +- Improve run-find-external.sh: + * Extend to run 'spack compiler find'. + * Separate triggers for packages and compilers. + * Better handle when search patterns match multiple directories. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.TexyIY/_old 2023-03-09 17:46:43.45550 +0100 +++ /var/tmp/diff_new_pack.TexyIY/_new 2023-03-09 17:46:43.45970 +0100 @@ -27,12 +27,19 @@ %define spack_dir %_prefix/lib/spack/ %define spack_group spack + # These packages are found and can be used by spack, /etc/spack/packages-yaml # needs to be updated when one of these packages is updated or uninstalled. # Distinguish between packages we recommend and packages which -%define spack_trigger_recommended autoconf bash bison bzip2 libzip-devel cmake-full ccache cpio diffutils findutils flex gcc gcc-c++ gcc-fortran git-lfs make m4 ncurses-devel libtool openssl-devel perl-base pkgconf pkg-config python3-base tar info xz xz-devel +%define spack_trigger_recommended_packages autoconf bash bison bzip2 libzip-devel cmake-full ccache cpio diffutils findutils flex git-lfs make m4 ncurses-devel libtool openssl-devel perl-base pkgconf pkg-config python3-base tar info xz xz-devel + +%define spack_trigger_recommended_compilers gcc gcc-c++ gcc-fortran + # packages recognized by spack, but not recommended -%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel gcc7 gcc8 gcc9 gcc10 gcc11 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran +%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel + +%define spack_trigger_compilers gcc7 gcc8 gcc9 gcc10 gcc11 gcc12 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc12-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran gcc12-fortran + # non oss packages %define spack_trigger_external cuda-nvcc Name: spack @@ -79,7 +86,7 @@ Requires: sudo Requires: tar Requires: xz -Recommends: %spack_trigger_recommended +Recommends: %spack_trigger_recommended_packages %spack_trigger_recommended_compilers %else BuildRequires: git BuildRequires: makeinfo @@ -460,11 +467,17 @@ chgrp spack /opt/spack chmod 0775 /opt/spack -%triggerin -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} -/usr/lib/spack/run-find-external.sh +%triggerin -- %{?spack_trigger_recommended_packages} %{?spack_trigger_packages} %{?spack_trigger_external} +/usr/lib/spack/run-find-external.sh packages + +%triggerin -- %{?spack_trigger_recommended_compilers} %{?spack_trigger_compilers} +/usr/lib/spack/run-find-external.sh compilers + +%triggerpostun -- %{?spack_trigger_recommended_packages} %{?spack_trigger_packages} %{?spack_trigger_external} +/usr/lib/spack/run-find-external.sh packages -%triggerpostun -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} -/usr/lib/spack/run-find-external.sh +%triggerpostun -- %{?spack_trigger_recommended_compilers} %{?spack_trigger_compilers} +/usr/lib/spack/run-find-external.sh compilers %if %{without doc} %files ++ run-find-external.sh.in ++ --- /var/tmp/diff_new_pack.TexyIY/_old 2023-03-09 17:46:43.547222739 +0100 +++ /var/tmp/diff_new_pack.TexyIY/_new 2023-03-09 17:46:43.547222739 +0100 @@ -1,5 +1,49 @@ #!/bin/bash -if [ -e @@_sysconfdir@@/spack/no_rpm_trigger ] ; then + +scope=system +what=$1 + +addpath() { +
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-03-02 23:03:24 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.31432 (New) Package is "spack" Thu Mar 2 23:03:24 2023 rev:28 rq:1068487 version:0.19.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-01-31 16:21:24.462031288 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.31432/spack.changes 2023-03-02 23:03:59.231943174 +0100 @@ -1,0 +2,13 @@ +Wed Mar 1 13:13:34 UTC 2023 - Christian Goll + +- Udpate to 0.19.1 with following bug fixes: + * buildcache create: make "file exists" less verbose + * spack mirror create: don't change paths to urls + * Improve error message for requirements + * Fix libtool filter for Fujitsu compilers + * FileCache: delete the new cache file on exception +- using `--all` flag for `spack external find` in the %triggrin + section, as MPI packages were not recognized any more, fixing + (bsc#1208751) + +--- Old: spack-0.19.0.tar.gz New: spack-0.19.1.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.lTW14O/_old 2023-03-02 23:03:59.939953293 +0100 +++ /var/tmp/diff_new_pack.lTW14O/_new 2023-03-02 23:03:59.943953351 +0100 @@ -36,7 +36,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.19.0 +Version:0.19.1 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause ++ run-find-external.sh.in ++ --- /var/tmp/diff_new_pack.lTW14O/_old 2023-03-02 23:04:00.059955009 +0100 +++ /var/tmp/diff_new_pack.lTW14O/_new 2023-03-02 23:04:00.059955009 +0100 @@ -30,7 +30,7 @@ getent passwd nobody &> /dev/null if [ "x$?" == "x0" ] ; then # drop all root rights, when calling external find - sudo -u nobody PATH=${mypath}:${PATH} spack external find --scope user #--exclude 'installdbgsymbols' + sudo -u nobody PATH=${mypath}:${PATH} spack external find --all --scope user #--exclude 'installdbgsymbols' if [ -e /var/lib/nobody/.spack/packages.yaml ] ; then mv -v /var/lib/nobody/.spack/packages.yaml /etc/spack/packages.yaml chown root:root /etc/spack/packages.yaml ++ spack-0.19.0.tar.gz -> spack-0.19.1.tar.gz ++ /work/SRC/openSUSE:Factory/spack/spack-0.19.0.tar.gz /work/SRC/openSUSE:Factory/.spack.new.31432/spack-0.19.1.tar.gz differ: char 29, line 1
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-01-31 16:09:55 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.32243 (New) Package is "spack" Tue Jan 31 16:09:55 2023 rev:27 rq:1062188 version:0.19.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2023-01-12 22:44:59.905102453 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.32243/spack.changes 2023-01-31 16:21:24.462031288 +0100 @@ -1,0 +2,7 @@ +Tue Jan 31 08:29:00 UTC 2023 - Egbert Eich + +- Make sure the spack environment is set up correctly in + spack-generated Dockerfiles (boo#1207784): + Make-sure-spack-environment-is-set-up-in-Dockerfile-template.patch + +--- New: Make-sure-spack-environment-is-set-up-in-Dockerfile-template.patch Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.kn1RM3/_old 2023-01-31 16:21:24.994034493 +0100 +++ /var/tmp/diff_new_pack.kn1RM3/_new 2023-01-31 16:21:24.998034517 +0100 @@ -55,6 +55,7 @@ Patch7: Fix-Spinx-configuration-to-avoid-throwing-errors.patch Patch8: Set-modules-default-to-lmod.patch Patch9: Add-support-for-container-building-using-a-SLE-base-container.patch +Patch100: Make-sure-spack-environment-is-set-up-in-Dockerfile-template.patch %if %{without doc} BuildRequires: fdupes BuildRequires: lua-lmod ++ Make-sure-spack-environment-is-set-up-in-Dockerfile-template.patch ++ From: Egbert Eich Date: Tue Jan 31 09:24:46 2023 +0100 Subject: Make sure spack environment is set up in Dockerfile template Patch-mainline: Not yet Git-commit: 865116877fe2536485326aa0fb53943160fa5e25 References: The Dockerfile template did source the script /opt/spack/share/spack/setup-env.sh which lead to the binary 'spack' not being found and the environment not being set up properly for `spack env activate .`. Signed-off-by: Egbert Eich Signed-off-by: Egbert Eich --- share/spack/templates/container/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/spack/templates/container/Dockerfile b/share/spack/templates/container/Dockerfile index b10dcf08..dc9b91e5 100644 --- a/share/spack/templates/container/Dockerfile +++ b/share/spack/templates/container/Dockerfile @@ -19,7 +19,8 @@ RUN mkdir {{ paths.environment }} \ {{ manifest }} > {{ paths.environment }}/spack.yaml # Install the software, remove unnecessary deps -RUN cd {{ paths.environment }} && spack env activate . && spack install --fail-fast && spack gc -y +RUN . /opt/spack/share/spack/setup-env.sh && \ +cd {{ paths.environment }} && spack env activate . && spack install --fail-fast && spack gc -y {% if strip %} # Strip all the binaries @@ -31,7 +32,7 @@ RUN find -L {{ paths.view }}/* -type f -exec readlink -f '{}' \; | \ {% endif %} # Modifications to the environment that are necessary to run -RUN cd {{ paths.environment }} && \ +RUN . /opt/spack/share/spack/setup-env.sh && cd {{ paths.environment }} && \ spack env activate --sh -d . >> /etc/profile.d/z10_spack_environment.sh {% if extra_instructions.build %}
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2023-01-12 22:44:47 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.32243 (New) Package is "spack" Thu Jan 12 22:44:47 2023 rev:26 rq:1057974 version:0.19.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-12-05 18:02:13.616916741 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.32243/spack.changes 2023-01-12 22:44:59.905102453 +0100 @@ -1,0 +2,7 @@ +Wed Jan 11 13:04:37 UTC 2023 - Egbert Eich + +- Fix var_path: this regression was introduced with the update + to the 0.19.0 release (boo#1207053). +- Move repos to /usr/share/spack: /var is strictly for local data. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.GqweMz/_old 2023-01-12 22:45:00.437105439 +0100 +++ /var/tmp/diff_new_pack.GqweMz/_new 2023-01-12 22:45:00.441105461 +0100 @@ -1,7 +1,7 @@ # # spec file for package spack # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -167,15 +167,6 @@ %else cp %{S:5} lib/spack/docs/ %endif -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 "spack/" . | xargs -i@ sed -i \ - -e 's|$spack/opt|/opt|g' \ - -e 's|$spack/var|/var/lib|g'\ - -e 's|$spack/share/spack/lmod|/opt/spack/modules|g'\ - -e 's|$spack/share/spack/modules|/opt/spack/modules|g'\ - @ %build # Nothing to build @@ -211,6 +202,8 @@ grep -rl ":target:" | xargs sed -i -e "/:target:/s/^/#/" -e "/figure::/s/^/#/" # Fix path to var - we install this to the 'real' /var grep -rl "\$SPACK_ROOT/var" | xargs sed -i -e "s@\(.*\)\$SPACK_ROOT/var\(/spack.*\)@\1/var/lib\2@g" +grep -rl '/var/lib/spack/repos' | grep -v "cmd/list.py" | \ +xargs -i@ sed -i 's|/var/lib/spack/repos|/usr/share/spack/repos|g' @ # spack cannot run without knowing at least the compiler, so we inject # a dummy one mkdir -p ${HOME}/.spack/linux/ @@ -235,7 +228,21 @@ make man info || { cat /tmp/sphinx-err-*.log; exit 1; } #text dirhtml rm -rf $tmpdir 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 '/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 \ + -e 's|$spack/opt|/opt|g' \ + -e 's|$spack/var|/var/lib|g'\ + -e 's|$spack/usr|/usr|g'\ + -e 's|$spack/share/spack/lmod|/opt/spack/modules|g'\ + -e 's|$spack/share/spack/modules|/opt/spack/modules|g'\ + @ %install # combine READMEs @@ -256,9 +263,6 @@ # Fix _spack_root link rm -f lib/spack/docs/_spack_root ln -sf ../.. lib/spack/docs/_spack_root -# Do not ship Docker and container building for now - needs fixing -rm -rf share/spack/{templates/container} -rm -rf share/spack/docker/{centos,ubuntu}*.dockerfile # Do not ship AWS specifics rm -f share/spack/setup-tutorial-env.sh # Fix rpmlint warnings @@ -288,6 +292,8 @@ cp -r lib/spack/{env,external,llnl,spack,spack_installable} %{buildroot}%{spack_dir} cp -r share/spack/* %{buildroot}%{_datarootdir}/spack cp -r var/spack/* %{buildroot}%{_localstatedir}/lib/spack +# No repos in /var +mv %{buildroot}%{_localstatedir}/lib/spack/repos %{buildroot}%{_datarootdir}/spack cp -r bin/sbang %{buildroot}/%{_bindir} cp -r bin/spack* %{buildroot}%{_bindir}/ cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ @@ -407,7 +413,7 @@ ln -sf %{_localstatedir}/cache/spack %{buildroot}%{_localstatedir}/lib/spack/cache # Remove problematic binaries which are removed upstream with # 0889be20e0d9dcdf4346cdeaa0647285187375f3 -rm -r %{buildroot}%{_localstatedir}/lib/spack/repos/builtin/packages/patchelf/test/ +rm -r %{buildroot}%{_datarootdir}/spack/repos/builtin/packages/patchelf/test/ echo "g %{name} -" > system-group-%{name}.conf %sysusers_generate_pre system-group-%{name}.conf %{name} system-group-%{name}.conf @@ -477,6 +483,7 @@ %{_localstatedir}/cache/spack
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-12-05 18:02:00 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1835 (New) Package is "spack" Mon Dec 5 18:02:00 2022 rev:25 rq:1040236 version:0.19.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-08-19 17:59:21.136461743 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1835/spack.changes2022-12-05 18:02:13.616916741 +0100 @@ -1,0 +2,62 @@ +Tue Nov 22 11:16:26 UTC 2022 - Christian Goll + +- updated to version 0.19.0 with the following changes: + * Spack's traditional package preferences are soft, but we've added hard +requriements to packages.yaml and spack.yaml + * spack install in an environment will no longer add to the specs: list; you'll +need to either use spack add or spack install --add . + * spack uninstall will not remove from your environment's specs: +list; you'll need to use spack remove or spack uninstall --remove. + * concretizer:unify:true is now the default mode for new environments + * include environment configuration from URLs + * An increasing number of packages in the ecosystem need the ability to +support multiple build systems + * package ++variant: +enabled variant that will be propagated to dependencies + * git. prefix to specify git tags or branches as versions. All of these are +valid git versions in + * spack ci generate --tests will generate a .gitlab-ci.yml file that not only +does builds but also runs tests for built packages + * spack test run --explicit will only run tests for packages that are +explicitly installed, instead of all packages. + * You can add a new shared_linking option to config.yaml to make Spack embed absolute paths +to needed shared libraries in ELF executables and shared libraries on Linux + * spack spec prints dependencies more legibly. Dependencies in the output now +appear at the earliest level of indentation possible (#33406) + * You can override package.py attributes like url, directly in packages.yaml + * There are a number of new architecture-related format strings you can use +in Spack configuration files to specify paths +- Improvements from v0.18.0 + * spack install --reuse was introduced in v0.17.0, and --reuse is now the +default concretization mode. Spack will try hard to resolve dependencies +using installed packages or binaries + * Spack hashes now include link, run, and build dependencies, as well as a +canonical hash of package recipes. Previously, hashes only included link +and run dependencies (though build dependencies were stored by +environments). We coarsened the hash to reduce churn in user installations, +but the new default concretizer behavior mitigates this concern and gets us +reuse and provenance. You will be able to see the build dependencies of +new installations + * concretizer:unify:when_possible will try to resolve a fully unified +environment, but if it cannot, it will create multiple configurations of +some packages where it has to. with spack find. + * Spack now has an updated binary format, with improvements for security. The +new format has a detached signature file, and Spack verifies the signature +before untarring or decompressing the binary package. The previous format +embedded the signature in a tar file, which required the client to run tar +before verifying (#30750). Spack can still install from build caches using +the old format, but we encourage users to switch to the new format going +forward. + * The spack bootstrap mirror command can automatically create a mirror for +bootstrapping the concretizer and other needed dependencies in an +air-gapped environment. + * spack env depfile can be used to generate a Makefile from an environment, +which can be used to build packages the environment in parallel on a single +node + * In addition to being conditional themselves, variants can now have +conditional values that are only possible for certain configurations of a +package. +- removed following patches as incorporated upstream: + * fix-tumbleweed-naming.patch + +--- Old: fix-tumbleweed-naming.patch spack-0.17.1.tar.gz New: spack-0.19.0.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.lWRZQe/_old 2022-12-05 18:02:14.616922186 +0100 +++ /var/tmp/diff_new_pack.lWRZQe/_new 2022-12-05 18:02:14.652922382 +0100 @@ -36,7 +36,7 @@ # non oss packages %define
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-08-19 17:56:46 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2083 (New) Package is "spack" Fri Aug 19 17:56:46 2022 rev:24 rq:998181 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-04-10 00:42:15.680875607 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.2083/spack.changes2022-08-19 17:59:21.136461743 +0200 @@ -1,0 +2,5 @@ +Mon Aug 15 19:39:22 UTC 2022 - Dirk M??ller + +- avoid bashism in post scripts (bsc#1195391) + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.ujTltw/_old 2022-08-19 17:59:21.592462698 +0200 +++ /var/tmp/diff_new_pack.ujTltw/_new 2022-08-19 17:59:21.600462715 +0200 @@ -337,7 +337,7 @@ mkdir -p %{buildroot}/%{_sysconfdir}/profile.d cat > %{buildroot}/%{_sysconfdir}/profile.d/spack.sh <
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-04-10 00:42:08 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1900 (New) Package is "spack" Sun Apr 10 00:42:08 2022 rev:23 rq:967990 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-03-02 18:22:47.132659529 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1900/spack.changes2022-04-10 00:42:15.680875607 +0200 @@ -1,0 +2,12 @@ +Thu Apr 7 12:56:45 UTC 2022 - Egbert Eich + +- Fix: Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch + This is needed to prevent an AttributeError during + 'import spack.environment as some_name' + when building Sphinx documentation - due to an outdated + Python on SLE. + The original version caused errors: + 'NameError: name 'uenv' is not defined' + when using 'spack env activate' et.al. (bsc#1198212). + +--- Other differences: -- ++ Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch ++ --- /var/tmp/diff_new_pack.WjaDLT/_old 2022-04-10 00:42:16.304868668 +0200 +++ /var/tmp/diff_new_pack.WjaDLT/_new 2022-04-10 00:42:16.308868624 +0200 @@ -1,73 +1,80 @@ From: Egbert Eich -Date: Wed Nov 10 09:40:47 2021 +0100 +Date: Thu Apr 7 20:25:46 2022 +0200 Subject: Fix error during documentation build due to recursive module inclusion Patch-mainline: Not yet -Git-repo: https://github.com/spack/spack -Git-commit: ffc7c32398d3aad53a2f5700b6d6ddee9f0d8ef2 +Git-commit: 7000c074119ebc3354b18a3b2aa27d431f906840 References: Signed-off-by: Egbert Eich Signed-off-by: Egbert Eich --- - lib/spack/spack/build_environment.py | 3 ++- - lib/spack/spack/environment/environment.py | 3 ++- - lib/spack/spack/main.py| 3 ++- - lib/spack/spack/user_environment.py| 3 ++- - 4 files changed, 8 insertions(+), 4 deletions(-) -diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py -index 83aa634276..3f32ed39cf 100644 a/lib/spack/spack/build_environment.py -+++ b/lib/spack/spack/build_environment.py -@@ -53,7 +53,8 @@ - import spack.build_systems.meson + lib/spack/spack/cmd/__init__.py| 5 - + lib/spack/spack/environment/environment.py | 5 - + lib/spack/spack/installer.py | 5 - + lib/spack/spack/main.py| 5 - + 4 files changed, 16 insertions(+), 4 deletions(-) +diff --git a/lib/spack/spack/cmd/__init__.py b/lib/spack/spack/cmd/__init__.py +index 0b0451c..cbedb9a 100644 +--- a/lib/spack/spack/cmd/__init__.py b/lib/spack/spack/cmd/__init__.py +@@ -21,7 +21,10 @@ + from llnl.util.tty.color import colorize + import spack.config - import spack.install_test --import spack.main -+if not ( "spack.main" in sys.modules ): -+import spack.main - import spack.package +-import spack.environment as ev ++try: ++import spack.environment as ev ++except AttributeError: ++pass + import spack.error + import spack.extensions import spack.paths - import spack.platforms diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py -index a6be5d1c50..a8d1008c46 100644 +index 3114f55..059b057 100644 --- a/lib/spack/spack/environment/environment.py +++ b/lib/spack/spack/environment/environment.py -@@ -32,7 +32,8 @@ +@@ -32,7 +32,10 @@ import spack.stage import spack.store import spack.subprocess_context -import spack.user_environment as uenv -+if not ( "spack.user_environment" in sys.modules ): ++try: +import spack.user_environment as uenv ++except AttributeError: ++pass import spack.util.cpus import spack.util.environment import spack.util.hash +diff --git a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py +index df1d704..ef0bda2 100644 +--- a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py +@@ -45,7 +45,10 @@ + from llnl.util.tty.color import colorize + from llnl.util.tty.log import log_output + +-import spack.binary_distribution as binary_distribution ++try: ++import spack.binary_distribution as binary_distribution ++except AttributeError: ++pass + import spack.compilers + import spack.error + import spack.hooks diff --git a/lib/spack/spack/main.py b/lib/spack/spack/main.py -index 31a4bfe4ed..dfb2078d4f 100644 +index f41423f..bb6c909 100644 --- a/lib/spack/spack/main.py +++ b/lib/spack/spack/main.py -@@ -36,7 +36,8 @@ +@@ -36,7 +36,10 @@ import spack import spack.cmd import spack.config -import spack.environment as ev -+if not ( "spack.environment" in
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-03-02 18:22:38 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1958 (New) Package is "spack" Wed Mar 2 18:22:38 2022 rev:22 rq:958493 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-02-11 23:08:39.946816905 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1958/spack.changes2022-03-02 18:22:47.132659529 +0100 @@ -1,0 +2,6 @@ +Wed Mar 2 12:41:12 UTC 2022 - Egbert Eich + +- Remove unneeded build dependency. +- Make dependencies of spack and spack-recipes symetrical. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.nWVnsV/_old 2022-03-02 18:22:47.872659556 +0100 +++ /var/tmp/diff_new_pack.nWVnsV/_new 2022-03-02 18:22:47.876659556 +0100 @@ -60,7 +60,6 @@ BuildRequires: fdupes BuildRequires: lua-lmod BuildRequires: polkit -BuildRequires: python-base BuildRequires: python3-urllib3 BuildRequires: sudo BuildRequires: sysuser-tools @@ -81,7 +80,6 @@ Requires: tar Requires: xz Recommends: %spack_trigger_recommended -Recommends: spack-recipes = %version %else BuildRequires: git BuildRequires: makeinfo @@ -115,7 +113,7 @@ %package recipes Summary:Spack built-in package recipes -Requires: %{name} >= %version +Requires: %{name} = %version %description recipes Spack is a configurable Python-based HPC package manager, automating @@ -309,7 +307,7 @@ # compile python files for python3 # %%{buildroot}%%{spack_dir}/spack -%py_compile . +%py3_compile . # make shell scripts executeable find %{buildroot}%{_localstatedir}/lib/spack/ -type f -name \*.sh -exec chmod 755 {} \;
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-02-11 23:07:21 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1956 (New) Package is "spack" Fri Feb 11 23:07:21 2022 rev:21 rq:953233 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-01-13 00:23:36.495983698 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1956/spack.changes2022-02-11 23:08:39.946816905 +0100 @@ -1,0 +2,6 @@ +Thu Feb 10 13:58:04 UTC 2022 - Egbert Eich + +- Add openssl-devel, xz-devel and libzip-devel as recommends + bsc#1195789. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.VqwrX3/_old 2022-02-11 23:08:40.598818791 +0100 +++ /var/tmp/diff_new_pack.VqwrX3/_new 2022-02-11 23:08:40.614818837 +0100 @@ -30,7 +30,7 @@ # These packages are found and can be used by spack, /etc/spack/packages-yaml # needs to be updated when one of these packages is updated or uninstalled. # Distinguish between packages we recommend and packages which -%define spack_trigger_recommended autoconf bash bison bzip2 cmake-full ccache cpio diffutils findutils flex gcc gcc-c++ gcc-fortran git-lfs make m4 ncurses-devel libtool openssl perl-base pkgconf pkg-config python3-base tar info xz +%define spack_trigger_recommended autoconf bash bison bzip2 libzip-devel cmake-full ccache cpio diffutils findutils flex gcc gcc-c++ gcc-fortran git-lfs make m4 ncurses-devel libtool openssl-devel perl-base pkgconf pkg-config python3-base tar info xz xz-devel # packages recognized by spack, but not recommended %define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel gcc7 gcc8 gcc9 gcc10 gcc11 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran # non oss packages
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-01-13 00:22:36 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1892 (New) Package is "spack" Thu Jan 13 00:22:36 2022 rev:20 rq:945894 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2022-01-11 21:23:55.125155031 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1892/spack.changes2022-01-13 00:23:36.495983698 +0100 @@ -1,0 +2,10 @@ +Wed Jan 12 09:50:56 UTC 2022 - Egbert Eich + +- Fix run-find-external.sh script: RPM macros are not expanded + in external scripts. + * Rename: run-find-external.sh to run-find-external.sh.in +- Fix list of recommended packages. +- Add support for container building using a SLE base container. + * Add-support-for-container-building-using-a-SLE-base-container.patch + +--- Old: run-find-external.sh New: Add-support-for-container-building-using-a-SLE-base-container.patch run-find-external.sh.in Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.AMcaev/_old 2022-01-13 00:23:37.027984081 +0100 +++ /var/tmp/diff_new_pack.AMcaev/_new 2022-01-13 00:23:37.031984084 +0100 @@ -30,7 +30,7 @@ # These packages are found and can be used by spack, /etc/spack/packages-yaml # needs to be updated when one of these packages is updated or uninstalled. # Distinguish between packages we recommend and packages which -%define spack_trigger_recommended autoconf bash bison bzip2 cmake-full ccache cpio diffutils findutils flex gcc gcc-c++ gcc-fortran git-lfs make m4 ncurses-devel libtool openssl perl-base pkgconf pkgconf-pkg-config python3-basetar info xz +%define spack_trigger_recommended autoconf bash bison bzip2 cmake-full ccache cpio diffutils findutils flex gcc gcc-c++ gcc-fortran git-lfs make m4 ncurses-devel libtool openssl perl-base pkgconf pkg-config python3-base tar info xz # packages recognized by spack, but not recommended %define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel gcc7 gcc8 gcc9 gcc10 gcc11 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran # non oss packages @@ -44,7 +44,7 @@ Source0: https://github.com/spack/spack/archive/v%{version}.tar.gz#/spack-%{version}.tar.gz Source1:README.SUSE Source2:spack-rpmlintrc -Source3:run-find-external.sh +Source3:run-find-external.sh.in Source4: https://en.opensuse.org/index.php?title=Spack=raw=157522#/README-oo-wiki # Source5 is from https://docs.python.org/3/objects.inv, but has permanent changes so using a static version Source5:objects.inv @@ -55,6 +55,7 @@ Patch6: Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch Patch7: Fix-Spinx-configuration-to-avoid-throwing-errors.patch Patch8: Set-modules-default-to-lmod.patch +Patch9: Add-support-for-container-building-using-a-SLE-base-container.patch %if %{without doc} BuildRequires: fdupes BuildRequires: lua-lmod @@ -289,6 +290,7 @@ cp -r bin/spack* %{buildroot}%{_bindir}/ cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ install -m 755 %{S:3} %{buildroot}/%{spack_dir}/run-find-external.sh +sed -i -e 's#@@_sysconfdir@@#%{_sysconfdir}#' %{buildroot}/%{spack_dir}/run-find-external.sh # Make spack only to write to home dir of user, if run as user sed -i 's@\(\sroot:\) /opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml @@ -411,6 +413,7 @@ %fdupes %{buildroot}%{spack_dir} %fdupes %{buildroot}%{_datarootdir}/spack %fdupes %{buildroot}%{_localstatedir}/lib/spack +%{?_distconfdir:%fdupes %{buildroot}/%{_distconfdir}/spack} %else mkdir -p %{buildroot}%{_infodir} mkdir -p %{buildroot}%{_mandir}/man1 ++ Add-support-for-container-building-using-a-SLE-base-container.patch ++ From: Egbert Eich Date: Wed Jan 12 13:51:57 2022 +0100 Subject: Add support for container building using a SLE base container Patch-mainline: Not yet Git-commit: 9fa0183f8bcff032d20ce3ae4f8e5e5b1e3dea9b References: Signed-off-by: Egbert Eich --- lib/spack/spack/container/images.json | 13 + 1 file changed, 13 insertions(+) diff --git
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2022-01-11 21:19:42 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1892 (New) Package is "spack" Tue Jan 11 21:19:42 2022 rev:19 rq:945414 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-12-14 22:02:12.091148109 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.1892/spack.changes2022-01-11 21:23:55.125155031 +0100 @@ -1,0 +2,22 @@ +Mon Jan 10 12:45:19 UTC 2022 - Christian Goll + +- updated to spack 0.17.1 with following chnages: + * Allow locks to work under high contention (#27846) + * Improve errors messages from clingo (#27707 #27970) + * Respect package permissions for sbang (#25764) + * Fix --enable-locks behavior (#24675) + * Fix log-format reporter ignoring install errors (#25961) + * Fix overloaded argparse keys (#27379) + * Allow style commands to run with targets other than "develop" (#27472) + * Log lock messages to debug level, instead of verbose level (#27408) + * Handle invalid unicode while logging (#21447) + * spack audit: fix API calls to variants (#27713) + * Provide meaningful message for empty environment installs (#28031) + * Added opensuse leap containers to spack containerize (#27837) + * Revert "patches: make re-applied patches idempotent" (#27625) + * MANPATH can use system defaults (#21682) + * Add "setdefault" subcommand to `spack module tcl` (#14686) + * Regenerate views when specs already installed (#28113) +- removed leap-container.patch as incoperated upstream + +--- Old: leap-container.patch spack-0.17.0.tar.gz New: spack-0.17.1.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.DAjCh4/_old 2022-01-11 21:23:55.709155442 +0100 +++ /var/tmp/diff_new_pack.DAjCh4/_new 2022-01-11 21:23:55.713155445 +0100 @@ -1,7 +1,7 @@ # # spec file for package spack # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.17.0 +Version:0.17.1 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause @@ -55,7 +55,6 @@ Patch6: Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch Patch7: Fix-Spinx-configuration-to-avoid-throwing-errors.patch Patch8: Set-modules-default-to-lmod.patch -Patch9: leap-container.patch %if %{without doc} BuildRequires: fdupes BuildRequires: lua-lmod ++ spack-0.17.0.tar.gz -> spack-0.17.1.tar.gz ++ /work/SRC/openSUSE:Factory/spack/spack-0.17.0.tar.gz /work/SRC/openSUSE:Factory/.spack.new.1892/spack-0.17.1.tar.gz differ: char 13, line 1
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-12-14 22:01:55 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2520 (New) Package is "spack" Tue Dec 14 22:01:55 2021 rev:18 rq:940448 version:0.17.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-12-13 20:50:40.532645635 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2520/spack.changes2021-12-14 22:02:12.091148109 +0100 @@ -1,0 +2,6 @@ +Tue Dec 14 11:13:37 UTC 2021 - Christian Goll + +- fixed the configuration files /etc/skel/.spack/{config|modules}.yaml + so that spack writes to $HOME if started as user + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.ZDXsEF/_old 2021-12-14 22:02:12.699148456 +0100 +++ /var/tmp/diff_new_pack.ZDXsEF/_new 2021-12-14 22:02:12.707148461 +0100 @@ -291,15 +291,21 @@ cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ 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 +# Make spack only to write to home dir of user, if run as user +sed -i 's@\(\sroot:\) /opt/spack@\1 ~/spack/packages@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml sed -i 's@\(\ssource_cache:\).*@\1 /var/tmp/$user/spack-cache@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml -sed -i 's@\(\stcl:\).*@\1 ~/spack/modules@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml -sed -i 's@\(\slmod:\).*@\1 ~/spack/lmod@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml cat >> %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml <> %{buildroot}%{_sysconfdir}/skel/.spack/modules.yaml < %{buildroot}%{spack_dir}/etc/spack/modules.yaml < %{buildroot}%{spack_dir}/etc/spack/modules.yaml <
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-12-13 20:44:36 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2520 (New) Package is "spack" Mon Dec 13 20:44:36 2021 rev:17 rq:940175 version:0.17.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-12-09 19:45:52.817141083 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2520/spack.changes2021-12-13 20:50:40.532645635 +0100 @@ -1,0 +2,6 @@ +Mon Dec 13 08:19:33 UTC 2021 - Christian Goll + +- made objects.inv (Source5) to be static as the online version is changed + dynamically + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.PVGuPb/_old 2021-12-13 20:50:41.060645974 +0100 +++ /var/tmp/diff_new_pack.PVGuPb/_new 2021-12-13 20:50:41.064645976 +0100 @@ -46,7 +46,8 @@ Source2:spack-rpmlintrc Source3:run-find-external.sh Source4: https://en.opensuse.org/index.php?title=Spack=raw=157522#/README-oo-wiki -Source5:https://docs.python.org/3/objects.inv +# Source5 is from https://docs.python.org/3/objects.inv, but has permanent changes so using a static version +Source5:objects.inv Patch1: fix-tumbleweed-naming.patch Patch2: Adapt-shell-scripts-that-set-up-the-environment-for-different-shells.patch Patch4: added-target-and-os-calls-to-output-of-spack-spec-co.patch ++ objects.inv ++ Binary files /var/tmp/diff_new_pack.PVGuPb/_old and /var/tmp/diff_new_pack.PVGuPb/_new differ
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-12-09 19:45:27 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2520 (New) Package is "spack" Thu Dec 9 19:45:27 2021 rev:16 rq:937186 version:0.17.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-11-21 23:52:11.578250831 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2520/spack.changes2021-12-09 19:45:52.817141083 +0100 @@ -1,0 +2,6 @@ +Tue Dec 7 15:34:12 UTC 2021 - Christian Goll + +- added leap-container.patch which adds leap15 as os to the + spack containerize command. + +--- New: leap-container.patch Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.c554Jk/_old 2021-12-09 19:45:54.817142046 +0100 +++ /var/tmp/diff_new_pack.c554Jk/_new 2021-12-09 19:45:54.821142047 +0100 @@ -54,6 +54,7 @@ Patch6: Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch Patch7: Fix-Spinx-configuration-to-avoid-throwing-errors.patch Patch8: Set-modules-default-to-lmod.patch +Patch9: leap-container.patch %if %{without doc} BuildRequires: fdupes BuildRequires: lua-lmod ++ leap-container.patch ++ diff --git a/lib/spack/docs/containers.rst b/lib/spack/docs/containers.rst index 3d32de0841..57a9cad189 100644 --- a/lib/spack/docs/containers.rst +++ b/lib/spack/docs/containers.rst @@ -129,6 +129,9 @@ are currently supported are summarized in the table below: * - CentOS 7 - ``centos:7`` - ``spack/centos7`` + * - openSUSE Leap + - ``opensuse/leap`` + - ``spack/leap15`` All the images are tagged with the corresponding release of Spack: diff --git a/lib/spack/spack/container/images.json b/lib/spack/spack/container/images.json index ee4e5a2caa..8e42329725 100644 --- a/lib/spack/spack/container/images.json +++ b/lib/spack/spack/container/images.json @@ -28,6 +28,19 @@ "develop": "latest" } }, +"leap:15": { + "bootstrap": { +"template": "container/leap15.dockerfile" + }, + "os_package_manager": "zypper", + "build": "spack/leap15", + "build_tags": { +"develop": "latest" + }, + "final": { +"image": "opensuse/leap:latest" + } +}, "nvidia/cuda:11.2.1": { "bootstrap": { "template": "container/cuda_11_2_1.dockerfile", @@ -85,6 +98,11 @@ "update": "yum update -y && amazon-linux-extras install epel -y", "install": "yum install -y", "clean": "rm -rf /var/cache/yum && yum clean all" +}, +"zypper": { + "update": "zypper update -y", + "install": "zypper install -y", + "clean": "rm -rf /var/cache/zypp && zypper clean -a" } } } diff --git a/share/spack/docker/leap-15.dockerfile b/share/spack/docker/leap-15.dockerfile index 65375c359b..eeaf90f524 100644 --- a/share/spack/docker/leap-15.dockerfile +++ b/share/spack/docker/leap-15.dockerfile @@ -2,7 +2,7 @@ FROM opensuse/leap:15.3 MAINTAINER Christian Goll ENV DOCKERFILE_BASE=opensuse \ -DOCKERFILE_DISTRO=opensuse_leap \ +DOCKERFILE_DISTRO=leap \ DOCKERFILE_DISTRO_VERSION=15.3\ SPACK_ROOT=/opt/spack \ DEBIAN_FRONTEND=noninteractive\
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-11-21 23:51:48 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1895 (New) Package is "spack" Sun Nov 21 23:51:48 2021 rev:15 rq:931907 version:0.17.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-10-26 20:13:56.482017654 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1895/spack.changes2021-11-21 23:52:11.578250831 +0100 @@ -1,0 +2,94 @@ +Mon Nov 8 14:55:34 UTC 2021 - Christian Goll + +- updated to version 0.17.0 + (Upstream feature/bug references () are relative to + https://github.com/spack/spack/issues/). + * New concretizer is now default +The new concretizer introduced as an experimental feature in v0.16.0 +is now the default (#25502). The new concretizer is based on the +clingo logic programming system, +and it enables us to do much higher quality and faster dependency solving +The old concretizer is still available via the concretizer: original +setting, but it is deprecated and will be removed in v0.18.0. + * Binary Bootstrapping +To make it easier to use the new concretizer and binary packages, +Spack now bootstraps clingo and GnuPG from public binaries. If it +is not able to bootstrap them from binaries, it installs them from +source code. With these changes, you should still be able to clone Spack +and start using it almost immediately. + * Reuse existing packages (experimental) +The most wanted feature from our +2020 user survey and +the most wanted Spack feature of all time (#25310). spack install, +spack spec, and spack concretize now have a --reuse option, which +causes Spack to minimize the number of rebuilds it does. The --reuse +option will try to find existing installations and binary packages locally +and in registered mirrors, and will prefer to use them over building new +versions. This will allow users to build from source far less than in +prior versions of Spack. This feature will continue to be improved, with +configuration options and better CLI expected in v0.17.1. It will become +the default concretization mode in v0.18.0. + * Better error messages +We have improved the error messages generated by the new concretizer by +using unsatisfiable cores. Spack will now print a summary of the types +of constraints that were violated to make a spec unsatisfiable (#26719). + * Conditional variants +Variants can now have a when="" clause, allowing them to be +conditional based on the version or other attributes of a package (#24858). + * Git commit versions +In an environment and on the command-line, you can now provide a full, +40-character git commit as a version for any package with a top-level +git URL. e.g., spack install hdf5@45bb27f58240a8da7ebb4efc821a1a964d7712a8. +Spack will compare the commit to tags in the git repository to understand +what versions it is ahead of or behind. + * Override local config and cache directories +You can now set SPACK_DISABLE_LOCAL_CONFIG to disable the ~/.spack and +/etc/spack configuration scopes. SPACK_USER_CACHE_PATH allows you to +move caches out of ~/.spack, as well (#27022, #26735). This addresses +common problems where users could not isolate CI environments from local +configuration. + * Improvements to Spack Containerize +For added reproducibility, you can now pin the Spack version used by +spack containerize (#21910). The container build will only build +with the Spack version pinned at build recipe creation instead of the +latest Spack version. + * New commands for dealing with tags +The spack tags command allows you to list tags on packages (#26136), and you +can list tests and filter tags with spack test list (#26842). + * Copy and relocate environment views as stand-alone installations (#24832) + * spack diff command can diff two installed specs (#22283, #25169) + * spack -c can set one-off config parameters on CLI (#22251) + * spack load --list is an alias for spack find --loaded (#27184) + * spack gpg can export private key with --secret (#22557) + * spack style automatically bootstraps dependencies (#24819) + * spack style --fix automatically invokes isort (#24071) + * build dependencies can be installed from build caches with --include-build-deps (#19955) + * spack audit command for checking package constraints (#23053) + * spack can now fetch from CVS repositories (yep, really) (#23212) + * spack monitor lets you upload analysis about installations to a + * spack monitor server (#23804, #24321, #23777, #25928)) + * spack python --path shows which python
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-10-26 20:13:37 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1890 (New) Package is "spack" Tue Oct 26 20:13:37 2021 rev:14 rq:926030 version:0.16.3 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-10-08 00:06:53.221838408 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1890/spack.changes2021-10-26 20:13:56.482017654 +0200 @@ -1,0 +2,5 @@ +Fri Oct 15 17:00:57 UTC 2021 - Egbert Eich + +- Fix sysuser file name. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.99AefQ/_old 2021-10-26 20:13:57.094017977 +0200 +++ /var/tmp/diff_new_pack.99AefQ/_new 2021-10-26 20:13:57.098017979 +0200 @@ -354,9 +354,9 @@ # 0889be20e0d9dcdf4346cdeaa0647285187375f3 rm -r %{buildroot}%{_localstatedir}/lib/spack/repos/builtin/packages/patchelf/test/ -echo "g %{name} -" > system-user-%{name}.conf -%sysusers_generate_pre system-user-%{name}.conf %{name} system-user-%{name}.conf -install -D -m 644 system-user-%{name}.conf %{buildroot}%{_sysusersdir}/system-user-%{name}.conf +echo "g %{name} -" > system-group-%{name}.conf +%sysusers_generate_pre system-group-%{name}.conf %{name} system-group-%{name}.conf +install -D -m 644 system-group-%{name}.conf %{buildroot}%{_sysusersdir}/system-group-%{name}.conf %fdupes %{buildroot}%{spack_dir} %fdupes %{buildroot}%{_datarootdir}/spack @@ -424,7 +424,7 @@ %dir %{_sysconfdir}/skel/.spack %config %{_sysconfdir}/skel/.spack/config.yaml # repos directory is installed in -recipes -%{_sysusersdir}/system-user-%{name}.conf +%{_sysusersdir}/system-group-%{name}.conf %exclude %{_localstatedir}/lib/spack/repos %files recipes
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-10-08 00:05:57 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2443 (New) Package is "spack" Fri Oct 8 00:05:57 2021 rev:13 rq:923607 version:0.16.3 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-08-11 11:47:54.661696424 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.2443/spack.changes2021-10-08 00:06:53.221838408 +0200 @@ -1,0 +2,15 @@ +Fri Oct 1 05:55:10 UTC 2021 - Egbert Eich + +- Utilize sysuser infrastructure to set group spack. + +--- +Wed Sep 29 20:32:58 UTC 2021 - Antoine Ginies + +- update to version 0.16.3 (JSC#SLE-22137): + * clang/llvm: fix version detection + * Fix use of quotes in Python build system + * Ensure all roots of an installed environment are marked explicit in db + * Fix fetching for Python 3.8 and 3.9 + * locks: only open lockfiles once instead of for every lock held + +--- @@ -24 +39 @@ -- fix typo to export prefix in patch: +- fix typo to export prefix in patch (bsc#1191395): Old: spack-0.16.2.tar.gz New: spack-0.16.3.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.oXH9Vk/_old 2021-10-08 00:06:53.785839364 +0200 +++ /var/tmp/diff_new_pack.oXH9Vk/_new 2021-10-08 00:06:53.789839370 +0200 @@ -36,7 +36,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.16.2 +Version:0.16.3 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause @@ -63,6 +63,7 @@ BuildRequires: python-base BuildRequires: python3-urllib3 BuildRequires: sudo +BuildRequires: sysuser-tools Requires: %{name}-recipes = %{version} Requires: bzip2 Requires: curl @@ -352,6 +353,11 @@ # Remove problematic binaries which are removed upstream with # 0889be20e0d9dcdf4346cdeaa0647285187375f3 rm -r %{buildroot}%{_localstatedir}/lib/spack/repos/builtin/packages/patchelf/test/ + +echo "g %{name} -" > system-user-%{name}.conf +%sysusers_generate_pre system-user-%{name}.conf %{name} system-user-%{name}.conf +install -D -m 644 system-user-%{name}.conf %{buildroot}%{_sysusersdir}/system-user-%{name}.conf + %fdupes %{buildroot}%{spack_dir} %fdupes %{buildroot}%{_datarootdir}/spack %fdupes %{buildroot}%{_localstatedir}/lib/spack @@ -364,8 +370,7 @@ [ -d texinfo/Spack-figures ] && cp -r texinfo/Spack-figures %{buildroot}%{_infodir} %endif -%pre -getent group %spack_group >/dev/null || groupadd -r %spack_group +%pre -f %{name}.pre %post # Replace /etc/spack/compilers.yaml @@ -419,6 +424,7 @@ %dir %{_sysconfdir}/skel/.spack %config %{_sysconfdir}/skel/.spack/config.yaml # repos directory is installed in -recipes +%{_sysusersdir}/system-user-%{name}.conf %exclude %{_localstatedir}/lib/spack/repos %files recipes ++ spack-0.16.2.tar.gz -> spack-0.16.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spack-0.16.2/.flake8 new/spack-0.16.3/.flake8 --- old/spack-0.16.2/.flake82021-05-22 23:57:30.0 +0200 +++ new/spack-0.16.3/.flake82021-09-22 01:58:41.0 +0200 @@ -29,4 +29,4 @@ # [flake8] ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801,N813,N814 -max-line-length = 79 +max-line-length = 88 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spack-0.16.2/CHANGELOG.md new/spack-0.16.3/CHANGELOG.md --- old/spack-0.16.2/CHANGELOG.md 2021-05-22 23:57:30.0 +0200 +++ new/spack-0.16.3/CHANGELOG.md 2021-09-22 01:58:41.0 +0200 @@ -1,3 +1,15 @@ +# v0.16.3 (2021-09-21) + +* clang/llvm: fix version detection (#19978) +* Fix use of quotes in Python build system (#22279) +* Cray: fix extracting paths from module files (#23472) +* Use AWS CloudFront for source mirror (#23978) +* Ensure all roots of an installed environment are marked explicit in db (#24277) +* Fix fetching for Python 3.8 and 3.9 (#24686) +* locks: only open lockfiles once instead of for every lock held (#24794) +* Remove the EOL centos:6 docker image + + # v0.16.2 (2021-05-22) * Major performance improvement for `spack load` and other commands. (#23661) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spack-0.16.2/etc/spack/defaults/mirrors.yaml new/spack-0.16.3/etc/spack/defaults/mirrors.yaml ---
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-08-11 11:47:18 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1899 (New) Package is "spack" Wed Aug 11 11:47:18 2021 rev:12 rq:911265 version:0.16.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-07-27 14:32:17.383470559 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1899/spack.changes2021-08-11 11:47:54.661696424 +0200 @@ -1,0 +2,5 @@ +Fri Aug 6 14:28:20 UTC 2021 - Christian Goll + +- added tar and make as requirement + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.UOOLpj/_old 2021-08-11 11:47:55.297695659 +0200 +++ /var/tmp/diff_new_pack.UOOLpj/_new 2021-08-11 11:47:55.301695654 +0200 @@ -71,9 +71,11 @@ Requires: gpg2 Requires: libbz2-devel Requires: lua-lmod +Requires: make Requires: patch Requires: polkit Requires: sudo +Requires: tar Requires: xz Recommends: %spack_trigger_recommended Recommends: spack-recipes = %version
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-07-27 14:32:02 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1899 (New) Package is "spack" Tue Jul 27 14:32:02 2021 rev:11 rq:908421 version:0.16.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-07-12 21:40:21.696049770 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1899/spack.changes2021-07-27 14:32:17.383470559 +0200 @@ -1,0 +2,5 @@ +Wed Jul 7 16:09:21 UTC 2021 - Christian Goll + +- added README-oo-wiki which is the raw version of the opensuse wiki + +--- New: README-oo-wiki Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.JT2tCO/_old 2021-07-27 14:32:18.171469779 +0200 +++ /var/tmp/diff_new_pack.JT2tCO/_new 2021-07-27 14:32:18.179469772 +0200 @@ -45,6 +45,7 @@ Source1:README.SUSE Source2:spack-rpmlintrc Source3:run-find-external.sh +Source4: https://en.opensuse.org/index.php?title=Spack=raw=157522#/README-oo-wiki Patch0: Make-spack-paths-compliant-to-distro-installation.patch Patch1: fix-tumbleweed-naming.patch Patch2: Adapt-shell-scripts-that-set-up-the-environment-for-different-shells.patch @@ -195,7 +196,8 @@ %endif %install - +# combine READMEs +cat %{S:4} >> %{S:1} %if %{without doc} cp %{S:1} . # Fix some rpmlint warnings ++ README-oo-wiki ++ spack ([https://github.com/spack/spack https://github.com/spack/spack]) is a tool to compile HPC software and its dependencies. The compiled software is available as environment [[modules]], so that several versions an application can coexist. Most relevant CPU architectures are detected and the compiled software is automatically optimized to it. For openSUSE Leap, Tumbelweed and SLES a [https://build.opensuse.org/package/show/network:cluster/spack system package] is available which has the advantage that it installs all necessary dependencies and makes core tools available for ''spack''. Other system packages which are also relevant for ''spack'' will also be added to the ''spack'' configuration after installation. Additionally ''spack'' behaves differently when called as ''root'' as when its called as normal user. All the packages which are build as ''root'' user are available for all users of the system, whereas the packages build as normal user, are only available for this user. == Quick Start == ''spack'' can be installed with sudo zypper install spack In order to load all relevant environment variables one should relogin and source the ''spack'' environment with source /usr/share/spack/setup-env.sh The installation can be checked with the command spack spec netcdf-c which shows all the packages which will be installed in order to compile ''netccdf-c'' from its sources. The circumeflex '^' in the output indicates the dependency on a specific package and can be changed on the command line. For example spack spec netcdf-c^mpich will display all the packages which are needed to build ''netcdf-c'' not with ''openmpi'' which is the default, but with ''mpich''. The installation of the package can now be done with spack install netcdf-c^mpich which builds and installs the package with all its needed dependencies. The resulting package can be used/loaded with the command spack load netcdf-c@4.7.4 or by using environment modules with module load netcdf-c-4.7.4-gcc-11.1.1-tlfohef where the exact name of the module can be displayed with module av == SUSE package == There are a few differences between the SUSE package and the standard installation. # When a user can write to ''/usr/lib/spack'', the packages and generated modules are stored under that location. This holds true if the user is ''root'' or in the ''spack'' group. The generated modules are installed under ''/usr/share/spack/modules/linux--'' # external packages, like ''M4'' or ''autoconf'' are detected at installtion time of ''spack'', but also when a relevant package is installed, like a new ''gcc'' version == Package search and information== The installed packages installed with ''spack'' can be displayed with spack find and '''all''' available packages with the command spack list [regexp] Detailed information about a package can be obtained with the command spack info which will print all versions and options for building the package. == Package building == Package compilation and installation is done with the 'install' command. But its advisable to list all the dependency of
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-07-12 21:40:08 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2625 (New) Package is "spack" Mon Jul 12 21:40:08 2021 rev:10 rq:904614 version:0.16.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-06-04 22:44:40.963220694 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.2625/spack.changes2021-07-12 21:40:21.696049770 +0200 @@ -1,0 +2,10 @@ +Tue Jul 6 21:45:21 UTC 2021 - Egbert Eich + +- Fix patch + Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch + to actually work correctly. + The updated version makes sure modules are not called recursively even + if modules are loaded in an out-of-order fashion from python-Sphinx. +- Remove duplicates in spec file. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.9OmqJk/_old 2021-07-12 21:40:22.180045954 +0200 +++ /var/tmp/diff_new_pack.9OmqJk/_new 2021-07-12 21:40:22.184045923 +0200 @@ -72,7 +72,6 @@ Requires: lua-lmod Requires: patch Requires: polkit -Requires: spack-recipes Requires: sudo Requires: xz Recommends: %spack_trigger_recommended @@ -252,9 +251,6 @@ sed -i 's@\(\stcl:\).*@\1 ~/spack/modules@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml sed -i 's@\(\slmod:\).*@\1 ~/spack/lmod@' %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml cat >> %{buildroot}%{_sysconfdir}/skel/.spack/config.yaml < --- - lib/spack/spack/user_environment.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) + lib/spack/spack/build_environment.py | 3 ++- + lib/spack/spack/environment.py | 3 ++- + lib/spack/spack/main.py | 3 ++- + lib/spack/spack/user_environment.py | 3 ++- + 4 files changed, 8 insertions(+), 4 deletions(-) +diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py +index 3cf02dc..afd34c0 100644 +--- a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py +@@ -51,7 +51,8 @@ + import spack.build_systems.cmake + import spack.build_systems.meson + import spack.config +-import spack.main ++if not ( "spack.main" in sys.modules ): ++import spack.main + import spack.paths + import spack.package + import spack.repo +diff --git a/lib/spack/spack/environment.py b/lib/spack/spack/environment.py +index 7f7625f..e48929e 100644 +--- a/lib/spack/spack/environment.py b/lib/spack/spack/environment.py +@@ -30,7 +30,8 @@ + import spack.util.spack_json as sjson + import spack.util.spack_yaml as syaml + import spack.config +-import spack.user_environment as uenv ++if not ( "spack.user_environment" in sys.modules ): ++import spack.user_environment as uenv + from spack.filesystem_view import YamlFilesystemView + import spack.util.environment + import spack.architecture as architecture +diff --git a/lib/spack/spack/main.py b/lib/spack/spack/main.py +index f4265a5..494a9ce 100644 +--- a/lib/spack/spack/main.py b/lib/spack/spack/main.py +@@ -31,7 +31,8 @@ + import spack.architecture + import spack.config + import spack.cmd +-import spack.environment as ev ++if not ( "spack.environment" in sys.modules ): ++import spack.environment as ev + import spack.paths + import spack.repo + import spack.store diff --git a/lib/spack/spack/user_environment.py b/lib/spack/spack/user_environment.py -index f08f21e..0da6c43 100644 +index f08f21e..8925246 100644 --- a/lib/spack/spack/user_environment.py +++ b/lib/spack/spack/user_environment.py -@@ -8,7 +8,7 @@ +@@ -8,7 +8,8 @@ import spack.config import spack.util.prefix as prefix import spack.util.environment as environment -import spack.build_environment as build_env -+import spack.build_environment ++if not ( "spack.build_environment" in sys.modules ): ++import spack.build_environment as build_env #: Environment variable name Spack uses to track individually loaded packages spack_loaded_hashes_var = 'SPACK_LOADED_HASHES' -@@ -85,13 +85,13 @@ def environment_modifications_for_spec(spec, view=None): - # Let the extendee/dependency modify their extensions/dependents - # before asking for package-specific modifications - env.extend( --build_env.modifications_from_dependencies( -+build_environment.modifications_from_dependencies( - spec, context='run' - ) - ) - - # Package specific modifications --build_env.set_module_variables_for_package(spec.package) -+build_environment.set_module_variables_for_package(spec.package) -
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-06-04 22:44:17 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.1898 (New) Package is "spack" Fri Jun 4 22:44:17 2021 rev:9 rq:897435 version:0.16.2 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-06-01 10:35:59.768663334 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.1898/spack.changes2021-06-04 22:44:40.963220694 +0200 @@ -1,0 +2,6 @@ +Wed Jun 2 14:04:26 UTC 2021 - Antoine Ginies + +- fix typo to export prefix in patch: + Adapt-shell-scripts-that-set-up-the-environment-for-different-shells.patch + +--- Other differences: -- ++ Adapt-shell-scripts-that-set-up-the-environment-for-different-shells.patch ++ --- /var/tmp/diff_new_pack.t4nGWN/_old 2021-06-04 22:44:41.375221530 +0200 +++ /var/tmp/diff_new_pack.t4nGWN/_new 2021-06-04 22:44:41.375221530 +0200 @@ -127,7 +127,7 @@ } _sp_multi_pathadd MODULEPATH "$_sp_tcl_roots" -++export SPACK_ROOT=@@_prefix@@ ++export SPACK_ROOT=@@_prefix@@ + + # Add programmable tab completion for Bash
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-05-03 22:08:10 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2988 (New) Package is "spack" Mon May 3 22:08:10 2021 rev:7 rq:889925 version:0.16.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-04-06 17:31:04.727211796 +0200 +++ /work/SRC/openSUSE:Factory/.spack.new.2988/spack.changes2021-05-03 22:08:33.248392822 +0200 @@ -1,0 +2,6 @@ +Mon May 3 06:34:46 UTC 2021 - Egbert Eich + +- Add gcc-c++ to the required packages (bsc#1185519). +- Add alternative c++ & fortran compilers to the triggers list. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.CZ2CMX/_old 2021-05-03 22:08:33.828390347 +0200 +++ /var/tmp/diff_new_pack.CZ2CMX/_new 2021-05-03 22:08:33.832390330 +0200 @@ -30,9 +30,9 @@ # These packages are found and can be used by spack, /etc/spack/packages-yaml # needs to be updated when one of these packages is updated or uninstalled. # Distinguish between packages we recommend and packages which -%define spack_trigger_recommended autoconf bash bison bzip2 cmake-full ccache cpio diffutils findutils flex gcc gcc-fortran git-lfs make m4 ncurses-devel libtool openssl perl-base pkgconf pkgconf-pkg-config python3-basetar info xz +%define spack_trigger_recommended autoconf bash bison bzip2 cmake-full ccache cpio diffutils findutils flex gcc gcc-c++ gcc-fortran git-lfs make m4 ncurses-devel libtool openssl perl-base pkgconf pkgconf-pkg-config python3-basetar info xz # packages recognized by spack, but not recommended -%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel gcc7 gcc8 gcc10 gcc11 +%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel gcc7 gcc8 gcc9 gcc10 gcc11 gcc7-c++ gcc8-c++ gcc9-c++ gcc10-c++ gcc11-c++ gcc7-fortran gcc8-fortran gcc9-fortran gcc10-fortran gcc11-fortran # non oss packages %define spack_trigger_external cuda-nvcc Name: spack @@ -65,6 +65,7 @@ Requires: %{name}-recipes = %{version} Requires: bzip2 Requires: curl +Requires: gcc-c++ Requires: gcc-fortran Requires: gpg2 Requires: libbz2-devel
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-04-06 17:29:43 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2401 (New) Package is "spack" Tue Apr 6 17:29:43 2021 rev:6 rq:882566 version:0.16.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-03-20 21:26:28.737212029 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2401/spack.changes2021-04-06 17:31:04.727211796 +0200 @@ -1,0 +2,13 @@ +Tue Mar 30 14:31:26 UTC 2021 - Christian Goll + +- added run-find-external.sh which calls the command in post + `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 and removed warning for this + corner case in rpmlinrc + +--- New: run-find-external.sh Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.HRr6V1/_old 2021-04-06 17:31:05.179212307 +0200 +++ /var/tmp/diff_new_pack.HRr6V1/_new 2021-04-06 17:31:05.183212312 +0200 @@ -32,7 +32,7 @@ # Distinguish between packages we recommend and packages which %define spack_trigger_recommended autoconf bash bison bzip2 cmake-full ccache cpio diffutils findutils flex gcc gcc-fortran git-lfs make m4 ncurses-devel libtool openssl perl-base pkgconf pkgconf-pkg-config python3-basetar info xz # packages recognized by spack, but not recommended -%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby +%define spack_trigger_packages ghostscript go fish fzf hugo java-11-openjdk-devel java-14-openjdk-devel java-15-openjdk-devel java-16-openjdk-devel java-1_8_0-openjdk-devel ruby openmpi1-devel openmpi2-devel openmpi3-devel openmpi4-devel openmpi1-gnu-hpc-devel openmpi2-gnu-hpc-devel openmpi3-gnu-hpc-devel openmpi4-gnu-hpc-devel mvapich2-devel mpich-devel gcc7 gcc8 gcc10 gcc11 # non oss packages %define spack_trigger_external cuda-nvcc Name: spack @@ -44,6 +44,7 @@ Source0: https://github.com/spack/spack/archive/v%{version}.tar.gz#/spack-%{version}.tar.gz Source1:README.SUSE Source2:spack-rpmlintrc +Source3:run-find-external.sh Patch0: Make-spack-paths-compliant-to-distro-installation.patch Patch1: fix-tumbleweed-naming.patch Patch2: Adapt-shell-scripts-that-set-up-the-environment-for-different-shells.patch @@ -60,14 +61,18 @@ BuildRequires: polkit BuildRequires: python-base BuildRequires: python3-urllib3 +BuildRequires: sudo Requires: %{name}-recipes = %{version} Requires: bzip2 Requires: curl Requires: gcc-fortran Requires: gpg2 +Requires: libbz2-devel Requires: lua-lmod +Requires: patch Requires: polkit Requires: spack-recipes +Requires: sudo Requires: xz Recommends: %spack_trigger_recommended Recommends: spack-recipes = %version @@ -238,6 +243,7 @@ cp -r bin/sbang %{buildroot}/%{_bindir} cp -r bin/spack* %{buildroot}%{_bindir}/ cp etc/spack/defaults/config.yaml %{buildroot}%{_sysconfdir}/skel/.spack/ +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 @@ -380,16 +386,13 @@ fi sed -i "s@HOSTTYPE@$HOSTTYPE@" %{spack_dir}/etc/spack/compilers.yaml # find installed programms -test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system --exclude 'installdbgsymbols' +/usr/lib/spack/run-find-external.sh %triggerin -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} -test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system --exclude 'installdbgsymbols' -test -e %{_sysconfdir}/spack/no_rpm_trigger || echo "Create %{_sysconfdir}/spack/no_rpm_trigger to stop spack to search for new packages after a rpm install" +/usr/lib/spack/run-find-external.sh %triggerpostun -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} -test -e %{_sysconfdir}/spack/no_rpm_trigger || rm /etc/spack/packages.yaml -test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system --exclude 'installdbgsymbols' -test -e %{_sysconfdir}/spack/no_rpm_trigger || echo "Create
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-03-20 21:26:02 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2401 (New) Package is "spack" Sat Mar 20 21:26:02 2021 rev:5 rq:880147 version:0.16.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-03-17 20:19:46.635302948 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2401/spack.changes2021-03-20 21:26:28.737212029 +0100 @@ -1,0 +2,5 @@ +Fri Mar 19 15:04:20 UTC 2021 - Christian Goll + +- set the right MODULEPATH in /etc/profile.d/spack.[cs]h + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.hKqB1j/_old 2021-03-20 21:26:29.385212787 +0100 +++ /var/tmp/diff_new_pack.hKqB1j/_new 2021-03-20 21:26:29.389212792 +0100 @@ -289,7 +289,7 @@ SPACK_NAME="\${ID/-/_}\${VERSION_ID/.*/}" fi export SPACK_ROOT=%{spack_dir} -export MODULEPATH=~/spack/lmod/linux-\${SPACK_NAME}-\${CPU}:%{_prefix}/share/spack/lmod/linux-\${SPACK_NAME}-\${CPU}:\${MODULEPATH} +export MODULEPATH=~/spack/modules/linux-\${SPACK_NAME}-\${CPU}:%{_prefix}/share/spack/modules/linux-\${SPACK_NAME}-\${CPU}:\${MODULEPATH} # copy local configuration, if its not there if [ ! -e ~/.spack/config.yaml ] ; then # test if user is in spack group by touching database @@ -313,7 +313,7 @@ set SPACK_NAME="\${ID}\${VERSION_ID}" endif set SPACK_ROOT="%{spack_dir}" -set MODULEPATH="~/spack/lmod/linux-\${SPACK_NAME}-\${CPU}:%{_prefix}/share/spack/lmod/linux-\${SPACK_NAME}-\${CPU}:\${MODULEPATH}" +set MODULEPATH="~/spack/modules/linux-\${SPACK_NAME}-\${CPU}:%{_prefix}/share/spack/modules/linux-\${SPACK_NAME}-\${CPU}:\${MODULEPATH}" if ( ! -e ~/.spack/config.yaml ) then # test if user is in spack group by touching database touch %{spack_dir}/.spack-db >& /dev/null
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-03-17 20:16:03 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2401 (New) Package is "spack" Wed Mar 17 20:16:03 2021 rev:4 rq:879453 version:0.16.1 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-03-11 20:13:09.140747344 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2401/spack.changes2021-03-17 20:19:46.635302948 +0100 @@ -7,0 +8,22 @@ +Fri Feb 26 10:40:00 UTC 2021 - Christian Goll + +- update to version 0.16.1 + * intel-oneapi support through new packages + * HIP/ROCm support (#19715, #20095) + * concretization enhancements + * environment install reporting fix (#20004) + * avoid import in ABI compatibility info (#20236) + * restore ability of dev-build to skip patches (#20351) + * spack find -d spec grouping (#20028) + * spack smoke test support (#19987, #20298) + * abstract spec comparisons (#20341) + * performance improvements for binary relocation (#19690, #20768) + * additional sanity checks for variants in builtin packages (#20373) + * do not pollute auto-generated configuration files with empty lists or +dicts +- added file: basic-exclude-pattern-for-external-find.patch + * adds the functionality to exclude binaries for external search +so that the call 'installdbgsymbols' can be prohibited as this +leads to an endless loop when drkonqui is installed + +--- Old: spack-0.16.0.tar.gz New: basic-exclude-pattern-for-external-find.patch spack-0.16.1.tar.gz Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.jfOdh2/_old 2021-03-17 20:19:47.391303982 +0100 +++ /var/tmp/diff_new_pack.jfOdh2/_new 2021-03-17 20:19:47.395303988 +0100 @@ -36,7 +36,7 @@ # non oss packages %define spack_trigger_external cuda-nvcc Name: spack -Version:0.16.0 +Version:0.16.1 Release:0 Summary:Package manager for HPC systems License:Apache-2.0 AND MIT AND Python-2.0 AND BSD-3-Clause @@ -51,6 +51,7 @@ Patch4: added-target-and-os-calls-to-output-of-spack-spec-co.patch Patch5: Fix-documentation-so-that-parser-doesn-t-stumble.patch Patch6: Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch +Patch7: basic-exclude-pattern-for-external-find.patch # upstream patch removes also problemtatic binaries #Patch4: spack-test-15702.patch %if %{without doc} @@ -68,8 +69,8 @@ Requires: polkit Requires: spack-recipes Requires: xz -Recommends: spack-recipes = %version Recommends: %spack_trigger_recommended +Recommends: spack-recipes = %version %else BuildRequires: %{python_module Sphinx >= 1.8} BuildRequires: %{python_module sphinxcontrib-programoutput} @@ -100,7 +101,6 @@ This package provides a module file that must be loaded to use spack. - %package recipes Summary:Spack built-in package recipes Requires: %{name} >= %version @@ -146,7 +146,6 @@ This package contains the info page. - %prep %setup -q %autopatch -p1 @@ -381,15 +380,15 @@ fi sed -i "s@HOSTTYPE@$HOSTTYPE@" %{spack_dir}/etc/spack/compilers.yaml # find installed programms -test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system +test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system --exclude 'installdbgsymbols' %triggerin -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} -test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system +test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system --exclude 'installdbgsymbols' test -e %{_sysconfdir}/spack/no_rpm_trigger || echo "Create %{_sysconfdir}/spack/no_rpm_trigger to stop spack to search for new packages after a rpm install" %triggerpostun -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} test -e %{_sysconfdir}/spack/no_rpm_trigger || rm /etc/spack/packages.yaml -test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system +test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system --exclude 'installdbgsymbols' test -e %{_sysconfdir}/spack/no_rpm_trigger || echo "Create %{_sysconfdir}/spack/no_rpm_trigger to stop spack to search for new packages after a rpm install" %if %{without doc} ++ basic-exclude-pattern-for-external-find.patch ++ >From 03bf4e89802b626278a4b14b4349ee94aa722965 Mon Sep 17
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-03-11 20:11:44 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.2401 (New) Package is "spack" Thu Mar 11 20:11:44 2021 rev:3 rq:878329 version:0.16.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2021-02-07 15:23:38.162172929 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.2401/spack.changes2021-03-11 20:13:09.140747344 +0100 @@ -1,0 +2,6 @@ +Fri Feb 26 22:06:36 UTC 2021 - Egbert Eich + +- Remove BuildRequires for patterns-base-basesystem and + distribution-release. + +--- Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.2JGc1q/_old 2021-03-11 20:13:09.660748187 +0100 +++ /var/tmp/diff_new_pack.2JGc1q/_new 2021-03-11 20:13:09.664748194 +0100 @@ -73,10 +73,8 @@ %else BuildRequires: %{python_module Sphinx >= 1.8} BuildRequires: %{python_module sphinxcontrib-programoutput} -BuildRequires: distribution-release BuildRequires: git BuildRequires: makeinfo -BuildRequires: patterns-base-basesystem BuildRequires: spack # html BuildRequires: graphviz
commit spack for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spack for openSUSE:Factory checked in at 2021-02-07 15:20:42 Comparing /work/SRC/openSUSE:Factory/spack (Old) and /work/SRC/openSUSE:Factory/.spack.new.28504 (New) Package is "spack" Sun Feb 7 15:20:42 2021 rev:2 rq:869552 version:0.16.0 Changes: --- /work/SRC/openSUSE:Factory/spack/spack.changes 2020-12-29 15:48:41.044378413 +0100 +++ /work/SRC/openSUSE:Factory/.spack.new.28504/spack.changes 2021-02-07 15:23:38.162172929 +0100 @@ -1,0 +2,9 @@ +Thu Feb 4 06:54:13 UTC 2021 - Egbert Eich + +- Add + * Fix-documentation-so-that-parser-doesn-t-stumble.patch: + * Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch +Fix documentation building. +- Fix texinfo file installation. + +--- New: Fix-documentation-so-that-parser-doesn-t-stumble.patch Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch Other differences: -- ++ spack.spec ++ --- /var/tmp/diff_new_pack.7ltKNY/_old 2021-02-07 15:23:38.866173733 +0100 +++ /var/tmp/diff_new_pack.7ltKNY/_new 2021-02-07 15:23:38.870173738 +0100 @@ -1,7 +1,7 @@ # # spec file for package spack # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %global flavor @BUILD_FLAVOR@%{?nil} %if "%{flavor}" == "doc" %bcond_without doc @@ -48,33 +49,35 @@ Patch2: Adapt-shell-scripts-that-set-up-the-environment-for-different-shells.patch Patch3: added-dockerfile-for-opensuse-leap-15.patch Patch4: added-target-and-os-calls-to-output-of-spack-spec-co.patch +Patch5: Fix-documentation-so-that-parser-doesn-t-stumble.patch +Patch6: Fix-error-during-documentation-build-due-to-recursive-module-inclusion.patch # upstream patch removes also problemtatic binaries #Patch4: spack-test-15702.patch %if %{without doc} -BuildRequires: polkit BuildRequires: fdupes +BuildRequires: lua-lmod +BuildRequires: polkit BuildRequires: python-base BuildRequires: python3-urllib3 -BuildRequires: lua-lmod Requires: %{name}-recipes = %{version} +Requires: bzip2 Requires: curl -Requires: lua-lmod -Requires: polkit Requires: gcc-fortran Requires: gpg2 -Requires: xz -Requires: bzip2 +Requires: lua-lmod +Requires: polkit Requires: spack-recipes +Requires: xz Recommends: spack-recipes = %version Recommends: %spack_trigger_recommended %else -BuildRequires: patterns-base-basesystem -BuildRequires: spack -BuildRequires: makeinfo -BuildRequires: distribution-release BuildRequires: %{python_module Sphinx >= 1.8} BuildRequires: %{python_module sphinxcontrib-programoutput} +BuildRequires: distribution-release BuildRequires: git +BuildRequires: makeinfo +BuildRequires: patterns-base-basesystem +BuildRequires: spack # html BuildRequires: graphviz # info @@ -88,7 +91,6 @@ %define __python3 python3 %endif - %description Spack is a configurable Python-based HPC package manager, automating the installation and fine-tuning of simulations and libraries. @@ -252,7 +254,6 @@ binary_index_root: ~/.spack/indices EOF - # compile python files for python3 # %%{buildroot}%%{spack_dir}/spack %py_compile . @@ -355,13 +356,13 @@ mkdir -p %{buildroot}%{_mandir}/man1 cd lib/spack/docs/_build cp man/spack.1.gz %{buildroot}%{_mandir}/man1/ -cp -r texinfo/Spack.info.gz texinfo/Spack-figures %{buildroot}%{_infodir} +cp -r texinfo/Spack.info.gz %{buildroot}%{_infodir} +[ -d texinfo/Spack-figures ] && cp -r texinfo/Spack-figures %{buildroot}%{_infodir} %endif %pre getent group %spack_group >/dev/null || groupadd -r %spack_group - %post # Replace /etc/spack/compilers.yaml export GCC_VERSION=`gcc -dumpversion` @@ -387,12 +388,12 @@ %triggerin -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} test -e %{_sysconfdir}/spack/no_rpm_trigger || spack external find --scope system test -e %{_sysconfdir}/spack/no_rpm_trigger || echo "Create %{_sysconfdir}/spack/no_rpm_trigger to stop spack to search for new packages after a rpm install" + %triggerpostun -- %{?spack_trigger_recommended} %{?spack_trigger_packages} %{?spack_trigger_external} test -e %{_sysconfdir}/spack/no_rpm_trigger || rm /etc/spack/packages.yaml test -e %{_sysconfdir}/spack/no_rpm_trigger || spack