Accepting request 644959 from science:HPC

- Bump version (forwarded request 644958 from eeich)

OBS-URL: https://build.opensuse.org/request/show/644959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2018-11-13 15:36:11 +00:00 committed by Git OBS Bridge
commit 04615fd6aa
3 changed files with 28 additions and 2 deletions

View File

@ -403,7 +403,7 @@ Obsoletes: %_lname < %version \
Requires: %{s_name} = %version \ Requires: %{s_name} = %version \
%{!-l:%{!-s:%{!-a:BuildArch: noarch}}} \ %{!-l:%{!-s:%{!-a:BuildArch: noarch}}} \
%description -n %_lname \ %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. \ When this package gets updated it installs the latest version of %name. \
%{-L:%post -n %_lname \ %{-L:%post -n %_lname \
ln -sf %{hpc_module_dep_base}.version.%{version} %{hpc_module_dep_base}.version} \ ln -sf %{hpc_module_dep_base}.version.%{version} %{hpc_module_dep_base}.version} \
@ -634,3 +634,19 @@ sys.exit(0)" %{1}
done; \ done; \
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 \\\
}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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
- macros: fix unexpanded macro in description of master package.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 19 12:54:39 UTC 2018 - eich@suse.com Sun Aug 19 12:54:39 UTC 2018 - eich@suse.com

View File

@ -20,7 +20,7 @@ Summary: SUSE HPC Environment
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Clustering/Computing Group: Productivity/Clustering/Computing
Name: suse-hpc Name: suse-hpc
Version: 0.2 Version: 0.3
Release: 0 Release: 0
Source0: macros.hpc Source0: macros.hpc
Source1: dlinfo.c Source1: dlinfo.c