Hello community,

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

Package is "libquo"

Sun Nov  3 12:14:07 2019 rev:8 rq:744756 version:1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libquo/libquo.changes    2019-09-20 
14:54:10.854870854 +0200
+++ /work/SRC/openSUSE:Factory/.libquo.new.2990/libquo.changes  2019-11-03 
12:14:08.520741243 +0100
@@ -1,0 +2,5 @@
+Fri Nov  1 02:48:20 UTC 2019 - Christoph Junghans <jungh...@votca.org>
+
+- generify used mpi implementation
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libquo.spec ++++++
--- /var/tmp/diff_new_pack.Hf7bBK/_old  2019-11-03 12:14:09.092742056 +0100
+++ /var/tmp/diff_new_pack.Hf7bBK/_new  2019-11-03 12:14:09.096742062 +0100
@@ -16,6 +16,20 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+# Build with OpenMPI
+%if 0%{?sle_version} == 0
+%define mpiver  openmpi2
+%else
+%if 0%{?sle_version} <= 120300
+%define mpiver  openmpi
+%else
+  %if 0%{?sle_version} <= 150000
+  %define mpiver  openmpi2
+  %else
+  %define mpiver  openmpi3
+  %endif
+%endif
+%endif
 
 Name:           libquo
 Version:        1.3
@@ -29,7 +43,8 @@
 Patch0:         
https://patch-diff.githubusercontent.com/raw/lanl/libquo/pull/29.patch
 BuildRequires:  hwloc
 BuildRequires:  numactl
-BuildRequires:  openmpi-devel
+BuildRequires:  %{mpiver}
+BuildRequires:  %{mpiver}-devel
 BuildRequires:  pkgconfig
 
 %description
@@ -70,7 +85,7 @@
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
-source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
+source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
 
 DATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
 %configure --disable-silent-rules --enable-shared CC=mpicc 
USER="Opensuse-builder" HOSTNAME="Opensuse" DATE="$DATE"


Reply via email to