diff --git a/freeipa.spec b/freeipa.spec index 3261ed7..b5232d2 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -1139,8 +1139,12 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so mkdir -p %{buildroot}%{_sysconfdir}/cron.d %endif # ONLY_CLIENT +%if %{ONLY_CLIENT} # Even client build must have /usr/share/ipa mkdir -p %{buildroot}%{_usr}/share/ipa +%__install install/share/freeipa.template %{buildroot}%{_usr}/share/ipa +%endif # ONLY_CLIENT + # Collect templates and filter out non-server ones find %{buildroot}%{_usr}/share/ipa -maxdepth 1 -name '*.template' -a ! -name 'freeipa.template' -fprintf server-templates '%{_usr}/share/ipa/%f\n'