summaryrefslogtreecommitdiffstats
path: root/ipa.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'ipa.spec.in')
-rw-r--r--ipa.spec.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipa.spec.in b/ipa.spec.in
index d0b34eb77..85aab33aa 100644
--- a/ipa.spec.in
+++ b/ipa.spec.in
@@ -239,6 +239,10 @@ ln -s ../../../..%{_sysconfdir}/ipa/html/ssbrowser.html \
ln -s ../../../..%{_sysconfdir}/ipa/html/unauthorized.html \
%{buildroot}%{_usr}/share/ipa/html/unauthorized.html
+# So we can own our Apache configuration
+/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ipa.conf
+/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ipa-rewrite.conf
+
%clean
rm -rf %{buildroot}
@@ -343,6 +347,8 @@ fi
%dir %{_sysconfdir}/ipa/html
%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html
%config(noreplace) %{_sysconfdir}/ipa/html/unauthorized.html
+%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ipa.conf
+%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ipa-rewrite.conf
%{_usr}/share/ipa/ipa.conf
%{_usr}/share/ipa/ipa-rewrite.conf
#%dir %{_usr}/share/ipa/ipaserver