Accepting request 650044 from home:eeich:branches:science:machinelearning

- Define _hpc_gnu_module (bsc#1116458).

OBS-URL: https://build.opensuse.org/request/show/650044
OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=18
This commit is contained in:
Egbert Eich 2018-11-18 21:37:26 +00:00 committed by Git OBS Bridge
parent c38dd06975
commit 62efb59f62
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 18 10:32:56 UTC 2018 - eich@suse.com
- Define _hpc_gnu_module (bsc#1116458).
-------------------------------------------------------------------
Tue Jan 30 10:11:45 UTC 2018 - eich@suse.com

View File

@ -201,7 +201,7 @@ done
%files
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%dir %{lua_lmod_modulesdir}/%{pname}
%dir %{hpc_modulepath}
%dir %{hpc_base}

View File

@ -22,7 +22,8 @@
echo ${FULL_VERSION%%.*} || \\\
echo ${FULL_VERSION%%%%.*})} \
%{expand: %%global hpc_gnu_pack_version %{?_cf_ver}%{!?_cf_ver:%%{nil}}} \
%{expand: %%global hpc_gnu_dir gnu%{hpc_gnu_dep_version}}
%{expand: %%global hpc_gnu_dir gnu%{hpc_gnu_dep_version}} \
%{expand: %%global _hpc_gnu_module gnu/%hpc_gnu_dep_version}
%hpc_setup_gnu \
export CC=gcc%{hpc_gnu_bin_version} \