summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-01-31 18:32:47 +0100
committerMartin Kosek <mkosek@redhat.com>2012-01-31 18:38:46 +0100
commit4dfec211f7b99bc24364cfc9760534ec5e94b6c1 (patch)
treed2222d93b18dcff1559f581d3f6b267863167302 /freeipa.spec.in
parent6bd2f5ba350f7b21fc2da7acec862d342423b3d9 (diff)
downloadfreeipa-4dfec211f7b99bc24364cfc9760534ec5e94b6c1.tar.gz
freeipa-4dfec211f7b99bc24364cfc9760534ec5e94b6c1.tar.xz
freeipa-4dfec211f7b99bc24364cfc9760534ec5e94b6c1.zip
%ghost the UI files that we install/create on the fly
https://fedorahosted.org/freeipa/ticket/1764
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 729343f7a..bffeca2e0 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -348,6 +348,13 @@ mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d/
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa.conf
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa-pki-proxy.conf
/bin/touch %{buildroot}%{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf
+mkdir -p %{buildroot}%{_usr}/share/ipa/html/
+/bin/touch %{buildroot}%{_usr}/share/ipa/html/ca.crt
+/bin/touch %{buildroot}%{_usr}/share/ipa/html/configure.jar
+/bin/touch %{buildroot}%{_usr}/share/ipa/html/krb.con
+/bin/touch %{buildroot}%{_usr}/share/ipa/html/krb5.ini
+/bin/touch %{buildroot}%{_usr}/share/ipa/html/krbrealm.con
+/bin/touch %{buildroot}%{_usr}/share/ipa/html/preferences.html
mkdir -p %{buildroot}%{_initrddir}
%if 0%{?fedora} >= 16
# Default to systemd initscripts for F16 and above
@@ -360,6 +367,7 @@ install -m755 init/SystemV/ipa.init %{buildroot}%{_initrddir}/ipa
mkdir -p %{buildroot}%{_sysconfdir}/ipa/
/bin/touch %{buildroot}%{_sysconfdir}/ipa/default.conf
+/bin/touch %{buildroot}%{_sysconfdir}/ipa/ca.crt
mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa-client/sysrestore
%if ! %{ONLY_CLIENT}
@@ -533,6 +541,12 @@ fi
%{_usr}/share/ipa/ipa.conf
%{_usr}/share/ipa/ipa-rewrite.conf
%{_usr}/share/ipa/ipa-pki-proxy.conf
+%ghost %attr(0644,root,apache) %config(noreplace) %{_usr}/share/ipa/html/ca.crt
+%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/configure.jar
+%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/krb.con
+%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/krb5.ini
+%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/krbrealm.con
+%ghost %attr(0644,root,apache) %{_usr}/share/ipa/html/preferences.html
%dir %{_usr}/share/ipa/updates/
%{_usr}/share/ipa/updates/*
%attr(755,root,root) %{plugin_dir}/libipa_pwd_extop.so
@@ -620,6 +634,7 @@ fi
%{python_sitearch}/python_default_encoding-*.egg-info
%endif
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/default.conf
+%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt
%changelog
* Wed Jan 11 2012 Rob Crittenden <rcritten@redhat.com> - 2.99.0-14