From abc714a41f1020dd596586baab67a012a536bb63 Mon Sep 17 00:00:00 2001 From: sagitter Date: Tue, 1 Oct 2019 20:01:10 +0200 Subject: [PATCH] Fix MPICH Requires again --- petsc.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/petsc.spec b/petsc.spec index 72ec1db..a54cb72 100644 --- a/petsc.spec +++ b/petsc.spec @@ -34,8 +34,6 @@ %global dts devtoolset-8- %endif -%global mpichversion %(rpm -qi mpich | awk -F': ' '/Version/ {print $2}') - # ## PETSC looks incompatible with serial MUMPS %bcond_with mumps_serial @@ -284,7 +282,9 @@ BuildRequires: fftw-mpich-devel BuildRequires: openblas-devel, openblas-srpm-macros %endif Requires: gcc-gfortran%{?_isa} -Requires: mpich%{?_isa} = %{mpichversion} + +%global mpichversion %(rpm -qi mpich | awk -F': ' '/Version/ {print $2}') +Requires: mpich%{?_isa} = %{?mpichversion} %description mpich PETSc, pronounced PET-see (the S is silent), is a suite of data structures