diff --git a/openmpi.spec b/openmpi.spec index 8c1bb87..12b81bb 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -90,7 +90,7 @@ BuildRequires: rpm-mpi-hooks %endif Provides: mpi -%if 0%{?rhel} +%if 0%{?rhel} == 7 # Need this for /etc/profile.d/modules.sh Requires: environment-modules %endif