if test x$enable_zfs = xyes ; then
RPMBINARGS="$RPMBINARGS --with zfs"
fi
+if test x$enable_gss_keyring == xno ; then
+ RPMBINARGS="$RPMBINARGS --without gss_keyring"
+fi
if test x$enable_iokit != xyes ; then
RPMBINARGS="$RPMBINARGS --without lustre_iokit"
fi
%bcond_without lustre_iokit
%bcond_without lustre_modules
%bcond_with snmp
+%bcond_without gss_keyring
%bcond_without manpages
%bcond_without shared
%bcond_without static
%{!?with_servers:--disable-server} \
%{!?with_zfs:--without-zfs} \
%{!?with_snmp:--disable-snmp} \
+ %{!?with_gss_keyring:--disable-gss-keyring} \
%{!?with_manpages:--disable-manpages} \
%{!?with_systemd:--with-systemdsystemunitdir=no} \
%{?with_systemd:--with-systemdsystemunitdir=%{_unitdir}} \
%if %{_vendor}=="redhat"
# The following scripts are Red Hat specific
%if %{with servers}
+echo '%{_sysconfdir}/init.d/lustre' >>lustre.files
echo '%{_sysconfdir}/sysconfig/lustre' >>lustre.files
+%if %{with gss_keyring}
+echo '%{_sysconfdir}/init.d/lsvcgss' >>lustre.files
echo '%{_sysconfdir}/sysconfig/lsvcgss' >>lustre.files
-echo '%{_sysconfdir}/init.d/lustre' >>lustre.files
+%endif
%endif
%if %{without systemd}
echo '%{_sysconfdir}/init.d/lnet' >>lustre.files
%endif
-
-echo '%{_sysconfdir}/init.d/lsvcgss' >>lustre.files
%endif
%if %{with servers}