From 8281c2e0fa2a32c48b727b6a855ccf04241be2e9 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 15 May 2018 17:11:13 -0400 Subject: [PATCH] Exclude /usr/share from client-only builds --- freeipa.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/freeipa.spec b/freeipa.spec index 77a9e6e..8769aa2 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -119,7 +119,7 @@ Name: freeipa Version: %{VERSION} -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Identity, Policy and Audit system Group: System Environment/Base @@ -1646,7 +1646,9 @@ fi %dir %{_localstatedir}/lib/ipa-client/pki %dir %{_localstatedir}/lib/ipa-client/sysrestore %{_mandir}/man5/default.conf.5* +%if ! %{ONLY_CLIENT} %{_usr}/share/ipa/freeipa.template +%endif %files python-compat @@ -1679,7 +1681,9 @@ fi %defattr(-,root,root,-) %doc README.md Contributors.txt %license COPYING +%if ! %{ONLY_CLIENT} %dir %{_usr}/share/ipa +%endif %if 0%{?with_python3} @@ -1742,6 +1746,9 @@ fi %endif # with_ipatests %changelog +* Tue May 15 2018 Rob Crittenden - 4.6.90.pre2-2 +- Exclude /usr/share from client-only builds + * Tue May 15 2018 Rob Crittenden - 4.6.90.pre2-1 - Update to upstream 4.6.90.pre2