Accepting request 650049 from science:HPC

- Define _hpc_gnu_module (bsc#1116458). (forwarded request 650044 from eeich)

OBS-URL: https://build.opensuse.org/request/show/650049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu-compilers-hpc?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2018-11-19 22:32:45 +00:00 committed by Git OBS Bridge
commit fc5f627e16
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} \