- Fixed a cut-n-paste error.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=14
This commit is contained in:
Egbert Eich 2018-01-30 13:46:32 +00:00 committed by Git OBS Bridge
parent af0d312418
commit 35f1f8681e

View File

@ -18,9 +18,9 @@
sed -e "s#.* \\([0-9]\\+\\.[0-9.]\\+\\)\\(\$\\| .*\\)#\\1#")}\
%{expand: %%global hpc_gnu_dep_version %(\\\
FULL_VERSION=%hpc_gnu_full_version; \\\
[ ${HPC_CF_FULL_VERSION%%%%.*} -lt 5 ] && \\\
[ ${FULL_VERSION%%%%.*} -lt 5 ] && \\\
echo ${FULL_VERSION%%.*} || \\\
echo ${HPC_CF_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}}