Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-mpi for 
openSUSE:Factory checked in at 2021-09-26 21:48:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-mpi (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-mpi.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-mpi"

Sun Sep 26 21:48:49 2021 rev:4 rq:921516 version:0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-mpi/python-pytest-mpi.changes      
2021-03-24 16:17:51.920248331 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-mpi.new.1899/python-pytest-mpi.changes
    2021-09-26 21:49:38.234846210 +0200
@@ -1,0 +2,5 @@
+Sun Sep 26 14:12:36 UTC 2021 - Hans-Peter Jansen <h...@urpla.net>
+
+- Fix build for Tumbleweed
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytest-mpi.spec ++++++
--- /var/tmp/diff_new_pack.VhC0Dp/_old  2021-09-26 21:49:38.630846700 +0200
+++ /var/tmp/diff_new_pack.VhC0Dp/_new  2021-09-26 21:49:38.634846704 +0200
@@ -16,6 +16,13 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%define mpiver 4
+%endif
+%if 0%{?sle_version} >= 150000
+%define mpiver 2
+%endif
+
 %define modname pytest_mpi
 %define skip_python2 1
 # mpi4py depends on numpy, which is not available for python36
@@ -37,7 +44,7 @@
 BuildRequires:  %{python_module mpi4py}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module sybil}
-BuildRequires:  openmpi2
+BuildRequires:  openmpi%{mpiver}
 # /SECTION
 %python_subpackages
 
@@ -55,9 +62,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-export PATH=${PATH}:%{_libdir}/mpi/gcc/openmpi2/bin
-source %{_libdir}/mpi/gcc/openmpi2/bin/mpivars.sh
-%pytest -v -p pytester
+export PATH=${PATH}:%{_libdir}/mpi/gcc/openmpi%{mpiver}/bin
+source %{_libdir}/mpi/gcc/openmpi%{mpiver}/bin/mpivars.sh
+%pytest -v -p pytester --runpytest=subprocess
 
 %files %{python_files}
 %doc README.md

Reply via email to