From c45c9aab1ff2d1afa8ce1c0bcf002b92229f098a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 27 Apr 2022 16:22:18 +0200 Subject: [PATCH] Related: #2078958 Consolidate patch condition --- firefox.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/firefox.spec b/firefox.spec index 9540ad9..c85e7d5 100644 --- a/firefox.spec +++ b/firefox.spec @@ -435,11 +435,7 @@ echo "use_rustts %{?use_rustts}" %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 - -%if 0%{?rhel} >= 9 +%if (0%{?rhel} == 8 && %{rhel_minor_version} >= 6) || 0%{?rhel} >= 9 %patch225 -p1 -b .firefox-nss-addon-hack %endif