X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre.spec.in;h=a5347038fcba93f0f96f2565c6f8a2092490a4c6;hb=2777adcabd1032ddb886f913fa04d82a292ab379;hp=25a256d864d0bfec047ed2ab7dd3876e0706268a;hpb=978ff35d39e3f640a2bfc766b97982012ce07a80;p=fs%2Flustre-release.git diff --git a/lustre.spec.in b/lustre.spec.in index 25a256d..a534703 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -29,6 +29,7 @@ %bcond_without o2ib %bcond_with kfi %bcond_with gni +%bcond_without l_getsepol %if %{with multiple_lnds} %global enable_multi_lnds 1 @@ -289,6 +290,9 @@ Provides: lustre-client = %{version}-%{release} #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 @@ -666,6 +670,7 @@ WITH_O2IB="" %{?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}