SHA256
1
0
forked from pool/suse-hpc

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
This commit is contained in:
Egbert Eich 2018-10-26 20:21:27 +00:00 committed by Git OBS Bridge
parent 7e4c94501e
commit 2431d90278
2 changed files with 21 additions and 0 deletions

View File

@ -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 \\\
}

View File

@ -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