From a613aeea4c6d964299b9eae908041806badb577dd1d5eb4bc1564528c03e1ed6 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 23 Jul 2020 17:45:40 +0000 Subject: [PATCH] - Fix %%hpc_base during hpc_init to allow for changes to %%_prefix. OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=50 --- _service | 2 +- macros.hpc | 1 + suse-hpc.changes | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/_service b/_service index 9d340dd..68e0786 100644 --- a/_service +++ b/_service @@ -6,7 +6,7 @@ .git suse-hpc 0.4.%h - d55686f0e90750122e3a56f4a38e3cb05a02381c + 663bf86ed7dc0d3e5526d4b7c7edaf5d04de648f general/dlinfo.c general/macros.hpc general/hpc_elf.pl diff --git a/macros.hpc b/macros.hpc index 2fcbfa7..6a779e7 100644 --- a/macros.hpc +++ b/macros.hpc @@ -117,6 +117,7 @@ EOF\ # -V: : set MPI version to (optional - default:) # -e: : program name extension %_hpc_init(Cc:Mm:v:V:e:)\ + %global hpc_base %{expand:%hpc_base} \ %{-m:%{!-c:%{error: Cannot est MPI family without compiler}}} \ %{-c:%{expand: %%global hpc_compiler_family %{-c*}}} \ %{-m: %{expand: %%global hpc_mpi_family %{-m*}}} \ diff --git a/suse-hpc.changes b/suse-hpc.changes index d7968c0..90d7ead 100644 --- a/suse-hpc.changes +++ b/suse-hpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 23 17:42:34 UTC 2020 - Egbert Eich + +- Fix %%hpc_base during hpc_init to allow for changes to %%_prefix. + ------------------------------------------------------------------- Thu May 7 21:50:13 UTC 2020 - Egbert Eich