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