From f0ae77403255d66479b7afab5ca81013f20e1024da10d9dbc9f2c3e998552b0a Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 25 Oct 2018 10:52:12 +0000 Subject: [PATCH 1/3] - macros: fix unexpanded macro in description of master package. OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=31 --- macros.hpc | 2 +- suse-hpc.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/macros.hpc b/macros.hpc index 1130efb..460e25f 100644 --- a/macros.hpc +++ b/macros.hpc @@ -403,7 +403,7 @@ Obsoletes: %_lname < %version \ Requires: %{s_name} = %version \ %{!-l:%{!-s:%{!-a:BuildArch: noarch}}} \ %description -n %_lname \ -The package %{l_name} provides the dependency to get binary package %{s_name} \ +The package %{_lname} provides the dependency to get binary package %{s_name} \ When this package gets updated it installs the latest version of %name. \ %{-L:%post -n %_lname \ ln -sf %{hpc_module_dep_base}.version.%{version} %{hpc_module_dep_base}.version} \ diff --git a/suse-hpc.changes b/suse-hpc.changes index 5ca6ee6..fe7d96a 100644 --- a/suse-hpc.changes +++ b/suse-hpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 25 10:51:17 UTC 2018 - eich@suse.com + +- macros: fix unexpanded macro in description of master package. + ------------------------------------------------------------------- Sun Aug 19 12:54:39 UTC 2018 - eich@suse.com From 275aca224a005039a84d2d6f3a89b69b80b92603aa03b87e298c7acdff382e0c Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 26 Oct 2018 20:21:27 +0000 Subject: [PATCH 2/3] Accepting request 644956 from home:eeich:factory_staging - Add %%hpc_cmake which wraps %%cmake from marcos.cmake. OBS-URL: https://build.opensuse.org/request/show/644956 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=32 --- macros.hpc | 16 ++++++++++++++++ suse-hpc.changes | 5 +++++ 2 files changed, 21 insertions(+) diff --git a/macros.hpc b/macros.hpc index 460e25f..8ca376e 100644 --- a/macros.hpc +++ b/macros.hpc @@ -634,3 +634,19 @@ sys.exit(0)" %{1} done; \ done +# wraps macro from macros.cmake - paths replaced by HPC paths. +%hpc_cmake \ + %{!?cmake:%{error: please include macros.cmake}} \ + %{?cmake: \ + %global __cmake %{_bindir}/cmake \ + %define _prefix %{hpc_prefix} \ + %define _includedir %{hpc_includedir} \ + %define _libdir %{hpc_libdir} \ + %define _datadir %{hpc_datadir} \ + %cmake \\\ + %undefine __cmake \\\ + %undefine _prefix \\\ + %undefine _includedir \\\ + %undefine _libdir \\\ + %undefine _datadir \\\ + } diff --git a/suse-hpc.changes b/suse-hpc.changes index fe7d96a..8d87b44 100644 --- a/suse-hpc.changes +++ b/suse-hpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 26 10:49:00 UTC 2018 - eich@suse.com + +- Add %%hpc_cmake which wraps %%cmake from marcos.cmake. + ------------------------------------------------------------------- Thu Oct 25 10:51:17 UTC 2018 - eich@suse.com From 4bda90585539791b1e4e96761468a8a0c6d78cdc32f93e8dd36fe73efe0dc3e3 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 26 Oct 2018 20:23:12 +0000 Subject: [PATCH 3/3] Accepting request 644958 from home:eeich:factory_staging - Bump version OBS-URL: https://build.opensuse.org/request/show/644958 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=33 --- suse-hpc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suse-hpc.spec b/suse-hpc.spec index 025df36..d50362c 100644 --- a/suse-hpc.spec +++ b/suse-hpc.spec @@ -20,7 +20,7 @@ Summary: SUSE HPC Environment License: BSD-3-Clause Group: Productivity/Clustering/Computing Name: suse-hpc -Version: 0.2 +Version: 0.3 Release: 0 Source0: macros.hpc Source1: dlinfo.c