From 8de30d4806342c1b6fe1f108de835f88113c6ed9 Mon Sep 17 00:00:00 2001 From: Marcel Graf <91905278+MarcelGraf0710@users.noreply.github.com> Date: Wed, 26 Nov 2025 15:50:47 +0100 Subject: [PATCH] Fix package file path in spack_exercise.md Updated the path for the package file location in Note 2. The previous path was working for an older Spack version but more recent versions use a new path. --- 03_building_and_packaging/spack_exercise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_building_and_packaging/spack_exercise.md b/03_building_and_packaging/spack_exercise.md index eb4f1aee..6e2ce092 100644 --- a/03_building_and_packaging/spack_exercise.md +++ b/03_building_and_packaging/spack_exercise.md @@ -41,7 +41,7 @@ Please do all the development inside a Docker container. The Docker container is **Note 1**: When specifying the URL to the software, you need to use the URL of the original repository name [`spack-exercise`](https://github.com/Simulation-Software-Engineering/spack-exercise). Sometimes the versions are not correctly detected from the original repository name. In case this happens, use the URL of one version, for example [v0.1.0](https://github.com/Simulation-Software-Engineering/spack-exercise/releases/tag/v0.1.0) of the original repository. Spack will then detect the respective version. To add more versions, change the URL accordingly. Packaging the code from your fork will fail because the releases are forked only partially. In your fork the archives, i.e., the `zip` and `tar.gz` files, will be missing. - **Note 2**: Spack will open the created package file automatically in an editor. If you want to use a different editor or want to edit the package later, you can find the package file in `${HOME}/spack/var/spack/repos/builtin/packages/spack-exercise/package.py` (inside the container). + **Note 2**: Spack will open the created package file automatically in an editor. If you want to use a different editor or want to edit the package later, you can find the package file in `${HOME}/.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/spack_exercise$` (inside the container). - Verify that the class name of the package is `SpackExercise`. - Verify that all three releases are listed.