File project.diff of Package openmpi5
--- openmpi5.spec.orig
+++ openmpi5.spec
@@ -49,15 +49,19 @@ ExclusiveArch: do_not_build
# Trickery for OBS Staging. If _with_ringdisabled is set
# we only want to build the flavors required by other rings packages.
# Do not build any other ones
- %if %{with ringdisabled} && "%flavor" != "standard"
+%if %{with ringdisabled} && "%flavor" != "standard"
ExclusiveArch: do_not_build
%endif
+%ifarch loongarch64
+ExclusiveArch: loongarch64
+%endif
+
%if "%flavor" == "testsuite"
%define testsuite 1
%endif
-%ifarch aarch64 %power64 x86_64 s390x
+%ifarch aarch64 loongarch64 %power64 x86_64 s390x
%define with_ucx 1
%endif