Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnu-compilers-hpc for 
openSUSE:Factory checked in at 2021-07-18 23:44:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnu-compilers-hpc (Old)
 and      /work/SRC/openSUSE:Factory/.gnu-compilers-hpc.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnu-compilers-hpc"

Sun Jul 18 23:44:46 2021 rev:12 rq:906501 version:1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnu-compilers-hpc/gnu-compilers-hpc.changes      
2021-07-07 18:29:35.135411916 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnu-compilers-hpc.new.2632/gnu-compilers-hpc.changes
    2021-07-18 23:44:46.535126176 +0200
@@ -1,0 +2,9 @@
+Thu Jul 15 10:22:42 UTC 2021 - Egbert Eich <e...@suse.com>
+
+- Improve setting of standard binaries (c, c++) for non-base
+  versions.
+- Improve environment settings: only set CC, CXX etc when
+  compilers are installed. Thus, if only gnu<X>-compiler-hpc
+  is installed, they will not be set.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnu-compilers-hpc.spec ++++++
--- /var/tmp/diff_new_pack.oR3r0l/_old  2021-07-18 23:44:46.923123191 +0200
+++ /var/tmp/diff_new_pack.oR3r0l/_new  2021-07-18 23:44:46.923123191 +0200
@@ -183,11 +183,13 @@
 prepend-path    MODULEPATH          %{hpc_modulepath}
 prepend-path    PATH    %{hpc_cf_install_path}/bin
 %if 0%{?c_f_ver:1} > 0
+if {[file isfile  %{_bindir}/gcc%{hpc_gnu_bin_version}]} {
 prepend-path    MANPATH %{hpc_cf_install_path}/man
 setenv         CC      gcc%{hpc_gnu_bin_version}
 setenv         CXX     g++%{hpc_gnu_bin_version}
 setenv         FC      gfortran%{hpc_gnu_bin_version}
 setenv         F77     gfortran%{hpc_gnu_bin_version}
+}
 %else
 # nothing to do since gcc is in the default path
 %endif
@@ -233,15 +235,19 @@
             ;;
     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}
+fi
 %else
 # for the base compiler version link to the 'default' binary:
 localbindir=%_bindir/
-%endif
 for i in cc cpp c++
 do
     test -e %{hpc_cf_install_path}/bin/${i} || ln -sf 
${localbindir}${i}%{hpc_gnu_bin_version} %{hpc_cf_install_path}/bin/${i}
 done
 test -e %{hpc_cf_install_path}/bin/fortran || ln -sf 
${localbindir}gfortran%{hpc_gnu_bin_version} %{hpc_cf_install_path}/bin/fc
+%endif
 
 %files
 %defattr(-,root,root,-)

Reply via email to