%bcond_without o2ib
%bcond_with kfi
%bcond_with gni
+%bcond_without l_getsepol
%if %{with multiple_lnds}
%global enable_multi_lnds 1
#suse don't support selinux
BuildRequires: pkgconfig(libselinux)
%endif
+%if %{with l_getsepol}
+BuildRequires: pkgconfig(libselinux) openssl-devel
+%endif
%if %{with lustre_modules}
%if %{with mofed}
%if 0%{?mofed_source} > 0
%{?with_kfi:--with-kfi=/usr/src/cray-kfabric/default} \
%{?with_gni:--enable-gni} \
${WITH_O2IB} \
+ %{!?with_l_getsepol:--disable-l_getsepol} \
--with-linux=%{kdir} \
--with-linux-obj=%{kobjdir} \
--with-kmp-moddir=%{kmoddir}/%{name}