summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-10-01 17:36:42 +0200
committerMartin Kosek <mkosek@redhat.com>2012-10-23 10:13:41 +0200
commit735153be4ed326f5d246c9c09eb444b12e450620 (patch)
treeb414ea7926643ffe4652f607ec3f0b4ae8c6e1e6
parent41ff6aa37ac0757639d5f8648d1981df50e22b54 (diff)
downloadfreeipa.git-735153be4ed326f5d246c9c09eb444b12e450620.tar.gz
freeipa.git-735153be4ed326f5d246c9c09eb444b12e450620.tar.xz
freeipa.git-735153be4ed326f5d246c9c09eb444b12e450620.zip
RPM spec fix for ffconfig.js and ffconfig_page.js
Spec file is missing %files instructions for ffconfig.js and ffconfig_page.js Ticket: https://fedorahosted.org/freeipa/ticket/3094
-rw-r--r--freeipa.spec.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 38eeffd5..3a6a14ed 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -341,6 +341,10 @@ rm %{buildroot}/%{_libdir}/krb5/plugins/kdb/ipadb.la
mkdir -p %{buildroot}/%{_sysconfdir}/ipa/html
mkdir -p %{buildroot}/%{_localstatedir}/cache/ipa/sysrestore
mkdir %{buildroot}%{_usr}/share/ipa/html/
+ln -s ../../../..%{_sysconfdir}/ipa/html/ffconfig.js \
+ %{buildroot}%{_usr}/share/ipa/html/ffconfig.js
+ln -s ../../../..%{_sysconfdir}/ipa/html/ffconfig_page.js \
+ %{buildroot}%{_usr}/share/ipa/html/ffconfig_page.js
ln -s ../../../..%{_sysconfdir}/ipa/html/ssbrowser.html \
%{buildroot}%{_usr}/share/ipa/html/ssbrowser.html
ln -s ../../../..%{_sysconfdir}/ipa/html/unauthorized.html \
@@ -560,6 +564,8 @@ fi
%dir %{_usr}/share/ipa/ffextension/locale/en-US
%{_usr}/share/ipa/ffextension/locale/en-US/kerberosauth.properties
%dir %{_usr}/share/ipa/html
+%{_usr}/share/ipa/html/ffconfig.js
+%{_usr}/share/ipa/html/ffconfig_page.js
%{_usr}/share/ipa/html/ssbrowser.html
%{_usr}/share/ipa/html/browserconfig.html
%{_usr}/share/ipa/html/unauthorized.html
@@ -587,6 +593,8 @@ fi
%{_usr}/share/ipa/ui/images/*.gif
%dir %{_sysconfdir}/ipa
%dir %{_sysconfdir}/ipa/html
+%config(noreplace) %{_sysconfdir}/ipa/html/ffconfig.js
+%config(noreplace) %{_sysconfdir}/ipa/html/ffconfig_page.js
%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html
%config(noreplace) %{_sysconfdir}/ipa/html/ipa_error.css
%config(noreplace) %{_sysconfdir}/ipa/html/unauthorized.html