@ -24,7 +24,7 @@ function dist_to_rhel_minor(str, start)
end
end
match = string.match(str, ".el8")
match = string.match(str, ".el8")
if match then
if match then
return 9
return 10
end
end
match = string.match(str, ".module%+el9.%d+")
match = string.match(str, ".module%+el9.%d+")
if match then
if match then
@ -36,7 +36,7 @@ function dist_to_rhel_minor(str, start)
end
end
match = string.match(str, ".el9")
match = string.match(str, ".el9")
if match then
if match then
return 3
return 4
end
end
return -1
return -1
end}
end}
@ -132,7 +132,7 @@ end}
Summary: Mozilla Firefox Web browser
Summary: Mozilla Firefox Web browser
Name: firefox
Name: firefox
Version: 115.4.0
Version: 115.5.0
Release: 1%{?dist}
Release: 1%{?dist}
URL: https://www.mozilla.org/firefox/
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
License: MPLv1.1 or GPLv2+ or LGPLv2+
@ -141,10 +141,15 @@ License: MPLv1.1 or GPLv2+ or LGPLv2+
ExcludeArch: %{ix86}
ExcludeArch: %{ix86}
%endif
%endif
%if 0%{?rhel} == 8
%if 0%{?rhel} == 8
# Started to ship on aarch64 in RHEL 8.2, on s390x in RHEL 8.3
%if %{rhel_minor_version} == 1
%if %{rhel_minor_version} == 1
ExcludeArch: %{ix86} aarch64 s390x
ExcludeArch: %{ix86} s390x aarch64
%else
%else
%if %{rhel_minor_version} == 2
ExcludeArch: %{ix86} s390x
%else
ExcludeArch: %{ix86}
ExcludeArch: %{ix86}
%endif
%endif
%endif
%endif
%endif
%if 0%{?rhel} == 7
%if 0%{?rhel} == 7
@ -158,7 +163,7 @@ ExcludeArch: aarch64 s390 ppc
# Link to original tarball: https://archive.mozilla.org/pub/firefox/releases/%%{version}%%{?pre_version}/source/firefox-%%{version}%%{?pre_version}.source.tar.xz
# Link to original tarball: https://archive.mozilla.org/pub/firefox/releases/%%{version}%%{?pre_version}/source/firefox-%%{version}%%{?pre_version}.source.tar.xz