Hello community, here is the log from the commit of package suse-hpc for openSUSE:Factory checked in at 2018-11-13 16:36:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-hpc (Old) and /work/SRC/openSUSE:Factory/.suse-hpc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-hpc" Tue Nov 13 16:36:11 2018 rev:13 rq:644959 version:0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-hpc/suse-hpc.changes 2018-08-27 12:59:52.384850484 +0200 +++ /work/SRC/openSUSE:Factory/.suse-hpc.new/suse-hpc.changes 2018-11-13 17:50:06.295581831 +0100 @@ -1,0 +2,10 @@ +Fri Oct 26 10:49:00 UTC 2018 - [email protected] + +- Add %%hpc_cmake which wraps %%cmake from marcos.cmake. + +------------------------------------------------------------------- +Thu Oct 25 10:51:17 UTC 2018 - [email protected] + +- macros: fix unexpanded macro in description of master package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-hpc.spec ++++++ --- /var/tmp/diff_new_pack.L6gmQN/_old 2018-11-13 17:50:06.847581062 +0100 +++ /var/tmp/diff_new_pack.L6gmQN/_new 2018-11-13 17:50:06.851581056 +0100 @@ -20,7 +20,7 @@ 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 ++++++ macros.hpc ++++++ --- /var/tmp/diff_new_pack.L6gmQN/_old 2018-11-13 17:50:06.947580922 +0100 +++ /var/tmp/diff_new_pack.L6gmQN/_new 2018-11-13 17:50:06.947580922 +0100 @@ -403,7 +403,7 @@ 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} \ @@ -634,3 +634,19 @@ 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 \\\ + }
