summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2012-07-10 10:35:34 +0200
committerMartin Stransky <stransky@anakreon.cz>2012-07-10 10:35:34 +0200
commita62de3b29587ca0c10f5b2b68b71195379e7f9fa (patch)
treedda089832fd087137ae22fc70adf85b76a1080c3 /firefox.spec
parentUpdate to 13.0.1 (diff)
downloadlibrewolf-fedora-ff-a62de3b29587ca0c10f5b2b68b71195379e7f9fa.tar.gz
librewolf-fedora-ff-a62de3b29587ca0c10f5b2b68b71195379e7f9fa.tar.bz2
librewolf-fedora-ff-a62de3b29587ca0c10f5b2b68b71195379e7f9fa.zip
WIP - default langpack fix
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec11
1 files changed, 11 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index dcfca37..3549cb7 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -282,6 +282,17 @@ done
%{__rm} -rf firefox-langpacks
%endif # build_langpacks
+# Install langpack workaround (see #707100, #821169)
+function create_default_langpack() {
+language_long=$1
+language_short=$2
+cd $RPM_BUILD_ROOT%{langpackdir}
+ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
+cd -
+}
+
+# Test that we have all langpacks in default setup
+
# System extensions
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_app_id}
bgstack15