From 80bee880c45f355d72a060a7d7583ad782ef4e9f Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Tue, 15 Feb 2022 22:04:20 +0800 Subject: [PATCH] spec: update dist to get correct minor Signed-off-by: Liwei Ge --- firefox.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firefox.spec b/firefox.spec index de1c293..3d6ee88 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 -- Gitee