diff --git a/gnu-compilers-hpc.changes b/gnu-compilers-hpc.changes index 3f215f0..5a04fde 100644 --- a/gnu-compilers-hpc.changes +++ b/gnu-compilers-hpc.changes @@ -1,8 +1,9 @@ ------------------------------------------------------------------- Mon Sep 4 11:39:42 UTC 2023 - Egbert Eich -- Make sure failure of last test in %posttrans is not returned as - status of scriptlet (bsc#1214816). +- Crate correct links for cc and c++ and make sure failure of last + test in %posttrans is not returned as status of scriptlet + (bsc#1214816). ------------------------------------------------------------------- Wed Jun 14 08:23:44 UTC 2023 - Egbert Eich diff --git a/gnu-compilers-hpc.spec b/gnu-compilers-hpc.spec index c2d0ae9..a2dbef1 100644 --- a/gnu-compilers-hpc.spec +++ b/gnu-compilers-hpc.spec @@ -250,8 +250,8 @@ do esac done for i in cc,gcc c++,g++; do - test -e %{hpc_cf_install_path}/bin/${i##*,}%{hpc_gnu_bin_version} \ - && ln -s %{hpc_cf_install_path}/bin/${i%%%%,*} ${i##*,}%{hpc_gnu_bin_version} || true + test -e %{hpc_cf_install_path}/bin/${i##*,} \ + && ln -s ${i##*,} %{hpc_cf_install_path}/bin/${i%%%%,*} || true done %else # for the base compiler version link to the 'default' binary: