summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-05-17 07:46:20 +0200
committerMartin Stransky <stransky@redhat.com>2019-05-17 07:46:20 +0200
commitf0f06660d5363c533139b5be229af6c0c185a637 (patch)
treec89cde1be1abe3342cd1a6eeae91ad7021e98ab3 /firefox.spec
parentRemoved %lang() prefix from langpacks file list due to flatpak (diff)
downloadlibrewolf-fedora-ff-f0f06660d5363c533139b5be229af6c0c185a637.tar.gz
librewolf-fedora-ff-f0f06660d5363c533139b5be229af6c0c185a637.tar.bz2
librewolf-fedora-ff-f0f06660d5363c533139b5be229af6c0c185a637.zip
Use %lang() in regular builds.
Diffstat (limited to 'firefox.spec')
-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