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/