Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python3-espressomd for 
openSUSE:Factory checked in at 2023-10-08 12:19:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-espressomd (Old)
 and      /work/SRC/openSUSE:Factory/.python3-espressomd.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-espressomd"

Sun Oct  8 12:19:10 2023 rev:19 rq:1114815 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-espressomd/python3-espressomd.changes    
2023-05-04 17:11:48.572798815 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-espressomd.new.28202/python3-espressomd.changes
 2023-10-08 12:23:03.812394153 +0200
@@ -1,0 +2,6 @@
+Mon Oct  2 12:11:53 UTC 2023 - Ondřej Súkup <[email protected]>
+
+- cleanup spec
+- skip mpiio test
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-espressomd.spec ++++++
--- /var/tmp/diff_new_pack.rUxGZA/_old  2023-10-08 12:23:05.056438933 +0200
+++ /var/tmp/diff_new_pack.rUxGZA/_new  2023-10-08 12:23:05.056438933 +0200
@@ -18,20 +18,7 @@
 
 
 # Build with OpenMPI
-%if 0%{?sle_version} == 0
 %define mpiver  openmpi4
-%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
-
 %define pkgname espresso
 %define modname %{pkgname}md
 Name:           python3-%{modname}
@@ -39,7 +26,6 @@
 Release:        0
 Summary:        Parallel simulation software for soft matter research
 License:        GPL-3.0-or-later
-Group:          Productivity/Scientific/Chemistry
 URL:            http://espressomd.org
 Source:         
https://github.com/%{modname}/%{pkgname}/releases/download/%{version}/%{pkgname}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM setuptools.patch gh#espressomd/espresso#4709
@@ -58,22 +44,18 @@
 BuildRequires:  %{mpiver}-devel
 BuildRequires:  chrpath
 BuildRequires:  gsl-devel
-BuildRequires:  python3-Cython
-BuildRequires:  python3-devel
-BuildRequires:  python3-numpy-devel
-BuildRequires:  python3-scipy
-BuildRequires:  python3-setuptools
-%if 0%{?suse_version} > 1325
 BuildRequires:  hdf5-%{mpiver}-devel
 BuildRequires:  libboost_filesystem-devel
 BuildRequires:  libboost_mpi-devel
 BuildRequires:  libboost_system-devel
 BuildRequires:  libboost_test-devel
+BuildRequires:  python3-Cython < 3
+BuildRequires:  python3-devel
 BuildRequires:  python3-h5py
+BuildRequires:  python3-numpy-devel
+BuildRequires:  python3-scipy
+BuildRequires:  python3-setuptools
 BuildRequires:  zlib-devel
-%else
-BuildRequires:  boost-devel
-%endif
 Provides:       libEspresso4 = %{version}-%{release}
 Obsoletes:      libEspresso4 < 4.1
 Requires:       python3-h5py
@@ -91,9 +73,10 @@
 
 %prep
 %autosetup -p1 -n %{pkgname}
-
 # Fix shebang line for pypresso
 sed -i -E '1s@^#!/usr/bin/env[[:blank:]]+sh@#!/bin/sh@' 
src/python/pypresso.cmakein
+# skip mpiio test - it fails if inwoked with cmake, direct run with python3 -m 
unittest pass
+sed -i '/mpiio\.py/d' testsuite/python/CMakeLists.txt
 
 %build
 source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh

Reply via email to