Fine tune packaging of server templates
This commit is contained in:
parent
8281c2e0fa
commit
7482939f1e
16
freeipa.spec
16
freeipa.spec
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
Name: freeipa
|
Name: freeipa
|
||||||
Version: %{VERSION}
|
Version: %{VERSION}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: The Identity, Policy and Audit system
|
Summary: The Identity, Policy and Audit system
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -1139,7 +1139,8 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
|
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
|
||||||
%endif # ONLY_CLIENT
|
%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'
|
||||||
|
|
||||||
%if ! %{ONLY_CLIENT}
|
%if ! %{ONLY_CLIENT}
|
||||||
|
|
||||||
@ -1428,7 +1429,7 @@ fi
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
|
||||||
%files server-common
|
%files server-common -f server-templates
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md Contributors.txt
|
%doc README.md Contributors.txt
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -1444,7 +1445,6 @@ fi
|
|||||||
%{_usr}/share/ipa/kdcproxy.wsgi
|
%{_usr}/share/ipa/kdcproxy.wsgi
|
||||||
%{_usr}/share/ipa/*.ldif
|
%{_usr}/share/ipa/*.ldif
|
||||||
%{_usr}/share/ipa/*.uldif
|
%{_usr}/share/ipa/*.uldif
|
||||||
%{_usr}/share/ipa/*.template
|
|
||||||
%dir %{_usr}/share/ipa/advise
|
%dir %{_usr}/share/ipa/advise
|
||||||
%dir %{_usr}/share/ipa/advise/legacy
|
%dir %{_usr}/share/ipa/advise/legacy
|
||||||
%{_usr}/share/ipa/advise/legacy/*.template
|
%{_usr}/share/ipa/advise/legacy/*.template
|
||||||
@ -1646,9 +1646,7 @@ fi
|
|||||||
%dir %{_localstatedir}/lib/ipa-client/pki
|
%dir %{_localstatedir}/lib/ipa-client/pki
|
||||||
%dir %{_localstatedir}/lib/ipa-client/sysrestore
|
%dir %{_localstatedir}/lib/ipa-client/sysrestore
|
||||||
%{_mandir}/man5/default.conf.5*
|
%{_mandir}/man5/default.conf.5*
|
||||||
%if ! %{ONLY_CLIENT}
|
|
||||||
%{_usr}/share/ipa/freeipa.template
|
%{_usr}/share/ipa/freeipa.template
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files python-compat
|
%files python-compat
|
||||||
@ -1681,9 +1679,7 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md Contributors.txt
|
%doc README.md Contributors.txt
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%if ! %{ONLY_CLIENT}
|
|
||||||
%dir %{_usr}/share/ipa
|
%dir %{_usr}/share/ipa
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -1746,6 +1742,10 @@ fi
|
|||||||
%endif # with_ipatests
|
%endif # with_ipatests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 16 2018 Alexander Bokovoy <abokovoy@redhat.com> - 4.6.90.pre2-3
|
||||||
|
- Fine tune packaging of server templates so that it doesn't include
|
||||||
|
freeipa.template which always go to freeipa-client-common
|
||||||
|
|
||||||
* Tue May 15 2018 Rob Crittenden <rcritten@redhat.com> - 4.6.90.pre2-2
|
* Tue May 15 2018 Rob Crittenden <rcritten@redhat.com> - 4.6.90.pre2-2
|
||||||
- Exclude /usr/share from client-only builds
|
- Exclude /usr/share from client-only builds
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user