Require main package and appropriate python version from python subpackages
This matches the change in openmpi:
0983e4dd55
This commit is contained in:
parent
4bdf40f099
commit
e4db578e88
@ -1,7 +1,7 @@
|
|||||||
Summary: A high-performance implementation of MPI
|
Summary: A high-performance implementation of MPI
|
||||||
Name: mpich
|
Name: mpich
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mpich.org/
|
URL: http://www.mpich.org/
|
||||||
|
|
||||||
@ -89,12 +89,16 @@ Contains documentations, examples and man-pages for mpich
|
|||||||
|
|
||||||
%package -n python2-mpich
|
%package -n python2-mpich
|
||||||
Summary: mpich support for Python 2
|
Summary: mpich support for Python 2
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: python(abi) = %{python2_version}
|
||||||
|
|
||||||
%description -n python2-mpich
|
%description -n python2-mpich
|
||||||
mpich support for Python 2.
|
mpich support for Python 2.
|
||||||
|
|
||||||
%package -n python3-mpich
|
%package -n python3-mpich
|
||||||
Summary: mpich support for Python 3
|
Summary: mpich support for Python 3
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: python(abi) = %{python3_version}
|
||||||
|
|
||||||
%description -n python3-mpich
|
%description -n python3-mpich
|
||||||
mpich support for Python 3.
|
mpich support for Python 3.
|
||||||
@ -224,6 +228,9 @@ make check VERBOSE=1
|
|||||||
%{python3_sitearch}/%{name}.pth
|
%{python3_sitearch}/%{name}.pth
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue May 7 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.1-11
|
||||||
- Add a guard for python3 version (#1705296)
|
- Add a guard for python3 version (#1705296)
|
||||||
- Module files are moved to /usr/share/modulefiles/mpi/
|
- Module files are moved to /usr/share/modulefiles/mpi/
|
||||||
|
Loading…
Reference in New Issue
Block a user