summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-04-18 11:12:05 +0200
committerJan Horak <jhorak@redhat.com>2017-04-18 11:12:05 +0200
commite1c3854d7108dc32371cac772045f43766f10ef4 (patch)
tree3a4b0dc08afedac61ecbfe436f6120d195bf94bb /firefox.spec
parentResolves: #1403970 some images rendered as dark because of buggy color profil... (diff)
downloadlibrewolf-fedora-ff-e1c3854d7108dc32371cac772045f43766f10ef4.tar.gz
librewolf-fedora-ff-e1c3854d7108dc32371cac772045f43766f10ef4.tar.bz2
librewolf-fedora-ff-e1c3854d7108dc32371cac772045f43766f10ef4.zip
Added distribution.ini file to fix mozbz#1354489
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index fbbba2b..b90f657 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -118,6 +118,7 @@ Source21: firefox.sh.in
Source23: firefox.1
Source24: mozilla-api-key
Source25: firefox-symbolic.svg
+Source26: distribution.ini
# Build patches
Patch0: firefox-install-dir.patch
@@ -712,6 +713,10 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{
# Default
%{__cp} %{SOURCE12} ${RPM_BUILD_ROOT}%{mozappdir}/browser/defaults/preferences
+# Add distribution.ini
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{mozappdir}/distribution
+%{__cp} %{SOURCE26} ${RPM_BUILD_ROOT}%{mozappdir}/distribution
+
# Remove copied libraries to speed up build
rm -f ${RPM_BUILD_ROOT}%{mozappdirdev}/sdk/lib/libmozjs.so
rm -f ${RPM_BUILD_ROOT}%{mozappdirdev}/sdk/lib/libmozalloc.so
@@ -781,6 +786,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{mozappdir}/browser/features/firefox@getpocket.com.xpi
%{mozappdir}/browser/features/webcompat@mozilla.org.xpi
%{mozappdir}/browser/features/deployment-checker@mozilla.org.xpi
+%{mozappdir}/distribution/distribution.ini
# That's Windows only
%ghost %{mozappdir}/browser/features/aushelper@mozilla.org.xpi
%attr(644, root, root) %{mozappdir}/browser/blocklist.xml
@@ -840,6 +846,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* Tue Apr 18 2017 Jan Horak <jhorak@redhat.com> - 52.0.2-3
- Do not use color management until it is fixed for some broken profiles,
ie. don't set gfx.color_management.enablev4 to true (rhbz#1403970).
+- Added distribution.ini file to fix mozbz#1354489
* Fri Mar 31 2017 Martin Stransky <stransky@redhat.com> - 52.0.2-2
- Added patch for mozbz#1348576 - enable e10s by default
bgstack15