Hello community,

here is the log from the commit of package mathgl for openSUSE:Factory checked 
in at 2019-11-07 23:21:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mathgl (Old)
 and      /work/SRC/openSUSE:Factory/.mathgl.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mathgl"

Thu Nov  7 23:21:17 2019 rev:47 rq:746361 version:2.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes    2019-09-11 
10:41:24.611209188 +0200
+++ /work/SRC/openSUSE:Factory/.mathgl.new.2990/mathgl.changes  2019-11-07 
23:21:20.084845819 +0100
@@ -1,0 +2,6 @@
+Fri Nov  1 14:54:12 UTC 2019 - Atri Bhattacharya <[email protected]>
+
+- openmpi has been renamed to openmpi1 for openSUSE >= 1550;
+  adapt accordingly.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mathgl.spec ++++++
--- /var/tmp/diff_new_pack.8uX0VK/_old  2019-11-07 23:21:21.020846823 +0100
+++ /var/tmp/diff_new_pack.8uX0VK/_new  2019-11-07 23:21:21.024846827 +0100
@@ -18,6 +18,13 @@
 
 %define octave_args --no-window-system --norc
 %define libname libmgl
+
+%if 0%{?suse_version} >= 1550
+%define omp_ver 1
+%else
+%define omp_ver %{nil}
+%endif
+
 # oct_version must be x.y.z
 %define oct_version %{version}
 %define somajor 7.5.0
@@ -62,7 +69,7 @@
 BuildRequires:  libtiff-devel
 BuildRequires:  libtool
 BuildRequires:  lua51-devel
-BuildRequires:  openmpi-devel
+BuildRequires:  openmpi%{omp_ver}-devel
 BuildRequires:  python-devel
 BuildRequires:  python-numpy-devel
 BuildRequires:  swig
@@ -399,8 +406,8 @@
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
-if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then
-  source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
+if [ -f %{_libdir}/mpi/gcc/openmpi%{omp_ver}/bin/mpivars.sh ]; then
+  source %{_libdir}/mpi/gcc/openmpi%{omp_ver}/bin/mpivars.sh
 fi
 
 cmake \


Reply via email to