summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec
index eb1b3c2..7bef576 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -99,7 +99,7 @@ ExcludeArch: s390x
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 67.0
-Release: 2%{?pre_tag}%{?dist}
+Release: 3%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -745,8 +745,11 @@ for langpack in `ls firefox-langpacks/*.xpi`; do
%{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
language=`echo $language | sed -e 's/-/_/g'`
- #echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
+%if 0%{?flatpak}
echo "%{langpackdir}/${extensionID}.xpi" >> %{name}.lang
+%else
+ echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
+%endif
done
%{__rm} -rf firefox-langpacks
@@ -931,6 +934,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Fri May 17 2019 Martin Stransky <stransky@redhat.com> - 67.0-3
+- Use %lang() in regular builds.
+
* Thu May 16 2019 Jan Horak <jhorak@redhat.com> - 67.0-2
- Removed %lang() prefix from langpacks file list due to flatpak
bgstack15