From e4db578e886e3b2fe25f9595d561115b4093da0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 8 May 2019 08:27:15 +0200 Subject: [PATCH] Require main package and appropriate python version from python subpackages This matches the change in openmpi: https://src.fedoraproject.org/rpms/openmpi/c/0983e4dd5521acb1bfc339984b65a35b4b41f928?branch=master --- mpich.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mpich.spec b/mpich.spec index e775747..aeaee12 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 3.2.1 -Release: 11%{?dist} +Release: 12%{?dist} License: MIT URL: http://www.mpich.org/ @@ -89,12 +89,16 @@ Contains documentations, examples and man-pages for mpich %package -n python2-mpich Summary: mpich support for Python 2 +Requires: %{name} = %{version}-%{release} +Requires: python(abi) = %{python2_version} %description -n python2-mpich mpich support for Python 2. %package -n python3-mpich Summary: mpich support for Python 3 +Requires: %{name} = %{version}-%{release} +Requires: python(abi) = %{python3_version} %description -n python3-mpich mpich support for Python 3. @@ -224,6 +228,9 @@ make check VERBOSE=1 %{python3_sitearch}/%{name}.pth %changelog +* Wed May 8 2019 Zbigniew Jędrzejewski-Szmek - 3.2.1-12 +- Require main package and appropriate python version from python subpackages + * Tue May 7 2019 Zbigniew Jędrzejewski-Szmek - 3.2.1-11 - Add a guard for python3 version (#1705296) - Module files are moved to /usr/share/modulefiles/mpi/