Only need environment-modules for EL7

This commit is contained in:
Orion Poplawski 2021-06-22 08:10:42 -06:00
parent 4366f00459
commit c9da4b0fca

View File

@ -90,7 +90,7 @@ BuildRequires: rpm-mpi-hooks
%endif %endif
Provides: mpi Provides: mpi
%if 0%{?rhel} %if 0%{?rhel} == 7
# Need this for /etc/profile.d/modules.sh # Need this for /etc/profile.d/modules.sh
Requires: environment-modules Requires: environment-modules
%endif %endif