diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-09-16 13:04:14 -0400 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-09-28 15:35:55 -0600 |
commit | 38a27b1c2f7750da1d6b75c7c2320762ca0f3d08 (patch) | |
tree | e902c0c16e72cf6eca0d4d7a1766ed386c48675f /ipa.spec.in | |
parent | 30f9f7772771a33f887ad1f4749352078e6c0fd4 (diff) | |
download | freeipa-38a27b1c2f7750da1d6b75c7c2320762ca0f3d08.tar.gz freeipa-38a27b1c2f7750da1d6b75c7c2320762ca0f3d08.tar.xz freeipa-38a27b1c2f7750da1d6b75c7c2320762ca0f3d08.zip |
Properly own (via ghost) the Apache configuration files.
Diffstat (limited to 'ipa.spec.in')
-rw-r--r-- | ipa.spec.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ipa.spec.in b/ipa.spec.in index 2408b0793..d1173b23e 100644 --- a/ipa.spec.in +++ b/ipa.spec.in @@ -242,8 +242,11 @@ ln -s ../../../..%{_sysconfdir}/ipa/html/unauthorized.html \ %{buildroot}%{_usr}/share/ipa/html/unauthorized.html # So we can own our Apache configuration +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ /bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ipa.conf -/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ipa-rewrite.conf +/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ipa.conf +/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf %clean rm -rf %{buildroot} @@ -349,7 +352,8 @@ fi %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 +%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf +%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa.conf %{_usr}/share/ipa/ipa.conf %{_usr}/share/ipa/ipa-rewrite.conf #%dir %{_usr}/share/ipa/ipaserver |