From 4dcdd78572ec874e176b0c6a1c6ee4f6a19d0e47 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Aug 15 2015 03:34:16 +0000 Subject: Stop filtering to fix new mpi generated requirements We still want to filter provides, but we now need the new Requires generators to run on the private .so files to get proper dependencies on mpich/openmpi modules. --- diff --git a/mpi4py.spec b/mpi4py.spec index 5c8b035..b12805f 100644 --- a/mpi4py.spec +++ b/mpi4py.spec @@ -5,15 +5,7 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])") -%{?filter_setup: -%filter_provides_in %{python2_sitearch}.*\.so$ -%filter_requires_in %{python2_sitearch}/openmpi/mpi4py/lib-pmpi/lib.*\.so -%if 0%{?with_python3} -%filter_provides_in %{python3_sitearch}.*\.so$ -%filter_requires_in %{python3_sitearch}/openmpi/mpi4py/lib-pmpi/lib.*\.so -%endif -%filter_setup -} +%global __provides_exclude_from %{python2_sitearch}.*\.so$|%{python3_sitearch}.*\.so$ %global with_mpich 1 %if 0%{?rhel} && 0%{?rhel} <= 6 || 0%{?fedora} && 0%{?fedora} < 20 @@ -36,7 +28,7 @@ Name: mpi4py Version: 1.3.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python bindings of the Message Passing Interface (MPI) Group: Development/Languages @@ -389,6 +381,9 @@ rm -rf %{buildroot} %changelog +* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek +- Remove requires filtering... not necessary anymore + * Mon Aug 10 2015 Sandro Mani - 1.3.1-11 - Rebuild for RPM MPI Requires Provides Change