From 45977120259c86a5bb2df2ef09131ed0a5112214 Mon Sep 17 00:00:00 2001 From: sagitter Date: Fri, 3 Aug 2018 13:03:11 +0200 Subject: [PATCH] Fix Hypre support on fedora 28 --- petsc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/petsc.spec b/petsc.spec index e3e74ef..ada8a26 100644 --- a/petsc.spec +++ b/petsc.spec @@ -27,12 +27,16 @@ %if 0%{?fedora} && 0%{?fedora} < 29 ## Exclude MPI builds on s390x %ifarch s390x -%bcond_with mpich +%bcond_without mpich %bcond_with openmpi %endif +%ifnarch s390x +%bcond_without mpich +%bcond_without openmpi +%endif %endif -%if 0%{?fedora} && 0%{?fedora} >= 28 +%if 0%{?fedora} && 0%{?fedora} >= 29 %bcond_without mpich %bcond_without openmpi %endif