summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgi Georgiev <chutzimir@gmail.com>2012-12-27 19:19:23 +0900
committerGeorgi Georgiev <chutzimir@gmail.com>2012-12-27 19:19:23 +0900
commitfefdcc37c7b084a538c5facbafd2ae131b5bddf6 (patch)
treeaef3249097b249ae9a6ce1d9bb86ba080007daf8
parent8a949b2a9e83a7ff3701c39a0e7a883973e624df (diff)
Fix for building firefox without langpacks
-rw-r--r--firefox.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index 79ef32a..f491326 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -345,7 +345,6 @@ for langpack in `ls firefox-langpacks/*.xpi`; do
echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> ../%{name}.lang
done
%{__rm} -rf firefox-langpacks
-%endif # build_langpacks
# Install langpack workaround (see #707100, #821169)
function create_default_langpack() {
@@ -372,6 +371,7 @@ create_default_langpack "pa-IN" "pa"
create_default_langpack "pt-PT" "pt"
create_default_langpack "sv-SE" "sv"
create_default_langpack "zh-TW" "zh"
+%endif # build_langpacks
# System extensions
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}