Disable PSM2 in ELN builds

libpsm2 is listed as unwanted in ELN and RHEL 10+.  Also, clarify the
PSM conditional as disabled in RHEL 8+.
This commit is contained in:
Yaakov Selkowitz 2023-07-09 23:54:43 -04:00
parent 87fa84a1a1
commit 0d7cd0891a

View File

@ -39,12 +39,16 @@
%endif
%ifarch x86_64
%if %{defined rhel}
%if 0%{?rhel} >= 8
%bcond_with psm
%else
%bcond_without psm
%endif
%if 0%{?rhel} >= 10
%bcond_with psm2
%else
%bcond_without psm2
%endif
%else
%bcond_with psm
%bcond_with psm2
@ -55,7 +59,7 @@
Name: openmpi%{?_cc_name_suffix}
Version: 4.1.5
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Open Message Passing Interface
License: BSD and MIT and Romio
URL: http://www.open-mpi.org/
@ -402,6 +406,9 @@ make check
%changelog
* Mon Jul 10 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.1.5-4
- Disable PSM2 in RHEL 10 builds
* Thu Jun 22 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.1.5-3
- Disable PSM, OrangeFS in RHEL builds