Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mpi4py for openSUSE:Factory 
checked in at 2024-12-29 11:56:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old)
 and      /work/SRC/openSUSE:Factory/.python-mpi4py.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mpi4py"

Sun Dec 29 11:56:14 2024 rev:23 rq:1233441 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes      
2024-11-30 13:32:17.248805462 +0100
+++ /work/SRC/openSUSE:Factory/.python-mpi4py.new.1881/python-mpi4py.changes    
2024-12-29 11:56:22.687535418 +0100
@@ -1,0 +2,7 @@
+Sun Dec 22 17:21:34 UTC 2024 - Stefan Brüns <stefan.bru...@rwth-aachen.de>
+
+- Fix packaging of header files, breaking VTK openmpi builds.
+  E.g. mpi4py.h requires the MPI_api.h in a specific relative
+  location.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-mpi4py.spec ++++++
--- /var/tmp/diff_new_pack.kPzMT6/_old  2024-12-29 11:56:23.267559203 +0100
+++ /var/tmp/diff_new_pack.kPzMT6/_new  2024-12-29 11:56:23.271559368 +0100
@@ -117,11 +117,15 @@
 export LANG=en_US.UTF-8
 %pyproject_install
 
-mkdir -p %{buildroot}/%{_includedir}
 %{python_expand # De-duplicate includes and also put them in a more 
generally-accessible location.
-cp -r %{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py 
%{buildroot}/%{_includedir}/
-rm -r %{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py
-ln -s %{_includedir}/mpi4py 
%{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py
+rm -Rf %{buildroot}/%{_includedir}/mpi4py/include
+rm -Rf %{buildroot}/%{_includedir}/mpi4py/*.h
+mkdir -p -m 755 %{buildroot}/%{_includedir}/mpi4py/include
+# Keep directory structure intact, e.g. mpi4py.h includes "../../MPI_api.h"
+mv %{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py 
%{buildroot}/%{_includedir}/mpi4py/include/mpi4py
+mv %{buildroot}%{$python_sitearch}/mpi4py/*.h 
%{buildroot}/%{_includedir}/mpi4py/
+ln -s %{_includedir}/mpi4py/include/mpi4py 
%{buildroot}%{$python_sitearch}/mpi4py/include/mpi4py
+for f in %{_includedir}/mpi4py/{MPI,MPI_api}.h; do ln -s ${f} 
%{buildroot}%{$python_sitearch}/mpi4py/; done
 %fdupes %{buildroot}%{$python_sitearch}
 }
 %fdupes %{buildroot}/%{_includedir}

Reply via email to