test use of __requires_exclude for impi builds since the pxse packaging looks
to disable autoprovides
@@ -49,6 +49,10 @@ BuildRequires: zlib-devel
#!BuildIgnore: post-build-checks rpmlint-Factory
+%if "%{mpi_family}" == "impi"
+%global __requires_exclude ^libmpi\\.so*$
+%endif
+
# Default library install path
%define install_path %{OHPC_LIBS}/%{compiler_family}/%{mpi_family}/%{pname}/%version
