Require main package and appropriate python version from python subpackages

This matches the change in openmpi:
0983e4dd55?branch=master
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-05-08 08:27:15 +02:00
parent 4bdf40f099
commit e4db578e88
1 changed files with 8 additions and 1 deletions

View File

@ -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 <zbyszek@in.waw.pl> - 3.2.1-12
- Require main package and appropriate python version from python subpackages
* Tue May 7 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.1-11
- Add a guard for python3 version (#1705296)
- Module files are moved to /usr/share/modulefiles/mpi/