diff --git a/mpich.spec b/mpich.spec index b0269f0..15e285c 100644 --- a/mpich.spec +++ b/mpich.spec @@ -41,7 +41,11 @@ BuildRequires: numactl-devel %ifarch aarch64 ppc64le x86_64 BuildRequires: ucx-devel %endif +%if ! 0%{?rhel} BuildRequires: yaksa-devel +%else +Provides: bundled(yaksa) = 0.2 +%endif # For ./maint/extractcvars BuildRequires: perl(lib) %ifnarch s390 %{mips} @@ -151,7 +155,9 @@ CONFIGURE_OPTS=( %ifarch aarch64 ppc64le x86_64 --with-ucx %endif +%if ! 0%{?rhel} --with-yaksa +%endif ) # --with-device=ch3:nemesis