From d93306a9cf0e2c1c148678ea1456337c57a9da1d Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 2 Feb 2022 17:43:21 +0100 Subject: [PATCH] Resolves: #2037103 Make firefox-nss-addon-hack.patch conditional for rhel8.6 and newer --- firefox.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firefox.spec b/firefox.spec index 20b0a31..57ad132 100644 --- a/firefox.spec +++ b/firefox.spec @@ -429,7 +429,11 @@ echo "use_rustts %{?use_rustts}" %patch215 -p1 -b .addons %patch219 -p1 -b .rhbz-1173156 %patch224 -p1 -b .1170092 + +# the nss changed in 8.6 and later, so addons are working in older releases +%if 0%{?rhel_minor_version} >= 6 %patch225 -p1 -b .firefox-nss-addon-hack +%endif # Patch for big endian platforms only %if 0%{?big_endian}