X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre.spec.in;h=9723eb8cb3ed3e2deab9985e888125c675ecc89b;hp=f228a4ef752268f751dcb3f2433378f1ee5bab04;hb=a34ba90453b8bb8de9bcdf949f8afc4c2a43f393;hpb=106abc184d8b57de560dc1874683ce5487dcf30a diff --git a/lustre.spec.in b/lustre.spec.in index f228a4e..9723eb8 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -9,6 +9,7 @@ %bcond_without lustre_iokit %bcond_without lustre_modules %bcond_with snmp +%bcond_without gss_keyring %bcond_without manpages %bcond_without shared %bcond_without static @@ -309,6 +310,7 @@ fi %{!?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}} \ @@ -364,16 +366,17 @@ echo '%{_unitdir}/lnet.service' >>lustre.files %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}