summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-04-27 11:49:26 +0200
committerJan Horak <jhorak@redhat.com>2017-04-27 11:49:26 +0200
commit84aecf83e0b356ea51e2c00c83626dc49f8d0ad7 (patch)
tree95b283f3620819f4ce53b6db594744917ba5d254 /firefox.spec
parentEnabled second arches (diff)
downloadlibrewolf-fedora-ff-84aecf83e0b356ea51e2c00c83626dc49f8d0ad7.tar.gz
librewolf-fedora-ff-84aecf83e0b356ea51e2c00c83626dc49f8d0ad7.tar.bz2
librewolf-fedora-ff-84aecf83e0b356ea51e2c00c83626dc49f8d0ad7.zip
Added patch for rhbz#1400293 - kai nss patch which removes workaround patch, for F24 and F25
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec25
1 files changed, 17 insertions, 8 deletions
diff --git a/firefox.spec b/firefox.spec
index d287b0e..ffac162 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -110,7 +110,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 53.0
-Release: 3%{?pre_tag}%{?dist}
+Release: 4%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -149,9 +149,7 @@ Patch224: mozilla-1170092.patch
Patch225: mozilla-1005640-accept-lang.patch
#ARM run-time patch
Patch226: rhbz-1354671.patch
-# Fix depends on p11-kit-trust 0.23.4 and enhanced ca-certificates.rpm
Patch227: rhbz-1400293-fix-mozilla-1324096.patch
-Patch228: rhbz-1400293-workaround.patch
Patch229: firefox-nss-version.patch
# Upstream patches
@@ -222,6 +220,19 @@ BuildRequires: nss-devel >= 3.29.1-2.1
Requires: nss >= 3.29.1-2.1
%endif
+%if 0%{?fedora} < 26
+# Using Conflicts for p11-kit, not Requires, because on multi-arch
+# systems p11-kit isn't yet available for secondary arches like
+# p11-kit.i686 (fallback to libnssckbi.so from NSS).
+# This build contains backports from p11-kit 0.23.4
+Conflicts: p11-kit < 0.23.2-3
+# Requires build with CKA_NSS_MOZILLA_CA_POLICY attribute
+Requires: ca-certificates >= 2017.2.11-1.1
+# Requires NSS build with backports from NSS 3.30
+BuildRequires: nss-devel >= 3.29.3-1.1
+Requires: nss >= 3.29.3-1.1
+%endif
+
BuildRequires: desktop-file-utils
BuildRequires: system-bookmarks
%if %{?system_sqlite}
@@ -313,12 +324,7 @@ cd %{tarballdir}
%ifarch aarch64
%patch226 -p1 -b .1354671
%endif
-%if 0%{?fedora} > 25
- # Fix depends on p11-kit-trust 0.23.4 and enhanced ca-certificates.rpm
%patch227 -p1 -b .rh1400293
-%else
-%patch228 -p1 -b .rh1400293
-%endif
%patch229 -p1 -b .nss-version
%patch304 -p1 -b .1253216
@@ -855,6 +861,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Thu Apr 27 2017 Jan Horak <jhorak@redhat.com> - 53.0-4
+- Added patch from rhbz#1400293
+
* Thu Apr 20 2017 Martin Stransky <stransky@redhat.com> - 53.0-3
- Enabled second arches
bgstack15