Hello community, here is the log from the commit of package python-mpi4py for openSUSE:Factory checked in at 2018-11-15 12:42:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mpi4py (Old) and /work/SRC/openSUSE:Factory/.python-mpi4py.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mpi4py" Thu Nov 15 12:42:03 2018 rev:6 rq:649202 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mpi4py/python-mpi4py.changes 2018-06-29 22:29:38.622336060 +0200 +++ /work/SRC/openSUSE:Factory/.python-mpi4py.new/python-mpi4py.changes 2018-11-15 12:42:03.986139614 +0100 @@ -1,0 +2,5 @@ +Thu Nov 15 04:50:38 UTC 2018 - Todd R <toddrme2...@gmail.com> + +- Use openmpi3 for releases that support it. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mpi4py.spec ++++++ --- /var/tmp/diff_new_pack.AKHDcR/_old 2018-11-15 12:42:04.882138595 +0100 +++ /var/tmp/diff_new_pack.AKHDcR/_new 2018-11-15 12:42:04.886138591 +0100 @@ -21,7 +21,11 @@ %if 0%{?sle_version} <= 120300 %define mpiver openmpi %else +%if 0%{?sle_version} <= 150000 %define mpiver openmpi2 +%else +%define mpiver openmpi3 +%endif %endif Version: 3.0.0 Release: 0 @@ -30,12 +34,12 @@ Group: Development/Libraries/Python Url: https://bitbucket.org/mpi4py/mpi4py Source: https://files.pythonhosted.org/packages/source/m/mpi4py/mpi4py-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{mpiver} BuildRequires: %{mpiver}-devel +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: %{mpiver} %python_subpackages @@ -84,7 +88,7 @@ Summary: Shared development files for %{name} Group: Development/Libraries/Python Provides: %{python_module mpi4py-common-devel = %{version}} -Requires: openmpi-devel +Requires: %{mpiver}-devel %description -n %{name}-common-devel Development libraries and headers needed to build packages using %{name} @@ -123,6 +127,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} +mkdir -p %{buildroot}%{_docdir}%{name} +cp -r docs %{buildroot}%{_docdir}%{name}/ +cp -r demo %{buildroot}%{_docdir}%{name}/ +%fdupes %{buildroot}%{_docdir}%{name} + %check export PYTHONDONTWRITEBYTECODE=1 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} @@ -130,7 +139,6 @@ } %files %{python_files} -%defattr(-,root,root) %doc CHANGES.rst DESCRIPTION.rst README.rst %license LICENSE.rst %{python_sitearch}/mpi4py @@ -138,19 +146,17 @@ %exclude %{python_sitearch}/mpi4py/include/ %files %{python_files devel} -%defattr(-,root,root) %license LICENSE.rst %{python_sitearch}/mpi4py/include/ %files -n %{name}-common-devel -%defattr(-,root,root) %license LICENSE.rst %{_includedir}/mpi4py/ %files -n %{name}-doc -%defattr(-,root,root) %license LICENSE.rst -%doc docs/ -%doc demo/ +%dir %{_docdir}%{name} +%{_docdir}%{name}/docs/ +%{_docdir}%{name}/demo/ %changelog