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-28 19:16:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"
Tue Sep 28 19:16:47 2021 rev:5 rq:922005 version:0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-mpi/python-pytest-mpi.changes
2021-09-26 21:49:38.234846210 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-mpi.new.1899/python-pytest-mpi.changes
2021-09-28 19:17:46.324271528 +0200
@@ -1,0 +2,5 @@
+Sun Sep 26 15:50:10 UTC 2021 - Hans-Peter Jansen <[email protected]>
+
+- Fix build for SLES/Leaps
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-mpi.spec ++++++
--- /var/tmp/diff_new_pack.TS2inM/_old 2021-09-28 19:17:46.700271961 +0200
+++ /var/tmp/diff_new_pack.TS2inM/_new 2021-09-28 19:17:46.704271966 +0200
@@ -16,11 +16,10 @@
#
-%if 0%{?suse_version} > 1500
-%define mpiver 4
-%endif
-%if 0%{?sle_version} >= 150000
-%define mpiver 2
+%if 0%{?sle_version} && 0%{?sle_version} < 150300
+ %define mpiver openmpi
+%else
+ %define mpiver openmpi4
%endif
%define modname pytest_mpi
@@ -42,9 +41,9 @@
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mpi4py}
+BuildRequires: %{mpiver}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sybil}
-BuildRequires: openmpi%{mpiver}
# /SECTION
%python_subpackages
@@ -62,8 +61,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-export PATH=${PATH}:%{_libdir}/mpi/gcc/openmpi%{mpiver}/bin
-source %{_libdir}/mpi/gcc/openmpi%{mpiver}/bin/mpivars.sh
+export PATH=${PATH}:%{_libdir}/mpi/gcc/%{mpiver}/bin
+source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
%pytest -v -p pytester --runpytest=subprocess
%files %{python_files}