Fix MPICH Requires again

This commit is contained in:
sagitter 2019-10-01 20:01:10 +02:00
parent 71da664024
commit abc714a41f

View File

@ -34,8 +34,6 @@
%global dts devtoolset-8- %global dts devtoolset-8-
%endif %endif
%global mpichversion %(rpm -qi mpich | awk -F': ' '/Version/ {print $2}')
# #
## PETSC looks incompatible with serial MUMPS ## PETSC looks incompatible with serial MUMPS
%bcond_with mumps_serial %bcond_with mumps_serial
@ -284,7 +282,9 @@ BuildRequires: fftw-mpich-devel
BuildRequires: openblas-devel, openblas-srpm-macros BuildRequires: openblas-devel, openblas-srpm-macros
%endif %endif
Requires: gcc-gfortran%{?_isa} Requires: gcc-gfortran%{?_isa}
Requires: mpich%{?_isa} = %{mpichversion}
%global mpichversion %(rpm -qi mpich | awk -F': ' '/Version/ {print $2}')
Requires: mpich%{?_isa} = %{?mpichversion}
%description mpich %description mpich
PETSc, pronounced PET-see (the S is silent), is a suite of data structures PETSc, pronounced PET-see (the S is silent), is a suite of data structures