Hello community, here is the log from the commit of package openmpi3 for openSUSE:Factory checked in at 2018-01-09 14:54:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openmpi3 (Old) and /work/SRC/openSUSE:Factory/.openmpi3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openmpi3" Tue Jan 9 14:54:45 2018 rev:3 rq:562441 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/openmpi3/openmpi3.changes 2017-12-08 13:03:28.972478046 +0100 +++ /work/SRC/openSUSE:Factory/.openmpi3.new/openmpi3.changes 2018-01-09 14:54:45.691390860 +0100 @@ -1,0 +2,7 @@ +Fri Jan 5 19:02:20 UTC 2018 - [email protected] + +- Switch from gcc6 to gcc7 as additional compiler flavor for HPC on SLES. +- Fix library package requires - use HPC macro (boo#1074890). +- Fix rpm macro file. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmpi3.spec ++++++ --- /var/tmp/diff_new_pack.4hBcJl/_old 2018-01-09 14:54:46.467354484 +0100 +++ /var/tmp/diff_new_pack.4hBcJl/_new 2018-01-09 14:54:46.471354296 +0100 @@ -1,7 +1,7 @@ # # spec file for package openmpi3 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana # University Research and Technology # Corporation. All rights reserved. @@ -80,9 +80,9 @@ %undefine c_f_ver %endif -%if "%flavor" == "gnu6-hpc" +%if "%flavor" == "gnu7-hpc" %define compiler_family gnu -%define c_f_ver 6 +%define c_f_ver 7 %endif %if "%flavor" == "gnu-hpc-testsuite" @@ -91,9 +91,9 @@ %define testsuite 1 %endif -%if "%flavor" == "gnu6-hpc-testsuite" +%if "%flavor" == "gnu7-hpc-testsuite" %define compiler_family gnu -%define c_f_ver 6 +%define c_f_ver 7 %define testsuite 1 %endif @@ -170,7 +170,7 @@ %if 0%{!?testsuite:1} Requires: lib%{package_name} = %{version} %endif -Requires: lua-lmod +%hpc_requires %endif %ifarch %{ix86} x86_64 ++++++ macros.hpc-openmpi ++++++ --- /var/tmp/diff_new_pack.4hBcJl/_old 2018-01-09 14:54:46.539351109 +0100 +++ /var/tmp/diff_new_pack.4hBcJl/_new 2018-01-09 14:54:46.539351109 +0100 @@ -4,7 +4,17 @@ %hpc_openmpi_init(V:) \ %{-V: %define _mf_ver %{-V*}} \ - %{expand: %%global hpc_openmpi_dep_version %%{?_mf_ver}%%{!_mf_ver:3}}; \ + %{expand: %%global hpc_openmpi_dep_version %%{?_mf_ver}%%{?!_mf_ver:3}} \ %{expand: %%global hpc_openmpi_dir openmpi%{hpc_openmpi_dep_version}} \ %{expand: %%global hpc_openmpi_pack_version %{hpc_openmpi_dep_version}} +# We may have to add a version here. +%hpc_setup_openmpi \ + module load openmpi + +%hpc_openmpi_requires \ +Requires: libopenmpi%{hpc_openmpi_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc + +%hpc_openmpi_requires_devel \ +Requires: openmpi%{hpc_openmpi_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc-devel +
