Make sure we have /usr/share/ipa in any case

This commit is contained in:
Alexander Bokovoy 2018-05-16 09:58:28 +03:00
parent 7482939f1e
commit aed8774b7e

View File

@ -1139,6 +1139,8 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
%endif # ONLY_CLIENT
# Even client build must have /usr/share/ipa
mkdir -p %{buildroot}%{_usr}/share/ipa
# 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'