diff --git a/firefox.spec b/firefox.spec index de1c293af6c16f76096725e3a9270f0bfd87ad44..3d6ee88c0efedb7b2f84fab4b6da2e08429a1099 100644 --- a/firefox.spec +++ b/firefox.spec @@ -9,15 +9,15 @@ %{lua: function dist_to_rhel_minor(str, start) - match = string.match(str, ".module%+el8.%d+") + match = string.match(str, ".module%+an8.%d+") if match then return string.sub(match, 13) end - match = string.match(str, ".el8_%d+") + match = string.match(str, ".an8_%d+") if match then return string.sub(match, 6) end - match = string.match(str, ".el8") + match = string.match(str, ".an8") if match then return 6 end