diff --git a/mpich.spec b/mpich.spec index 5e34280..9331a7e 100644 --- a/mpich.spec +++ b/mpich.spec @@ -27,10 +27,12 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gcc-gfortran BuildRequires: hwloc-devel >= 2.0 +%if ! (0%{?rhel} >= 10) %ifarch x86_64 BuildRequires: infinipath-psm-devel BuildRequires: libpsm2-devel %endif +%endif BuildRequires: libfabric-devel BuildRequires: libnl3-devel BuildRequires: libuuid-devel