class Gem::Platform

def normalized_linux_version_ext

Once only 3.3.23 is supported, we can use the method in RubyGems.
This is a copy of RubyGems 3.3.23 or higher `normalized_linux_method`.
def normalized_linux_version_ext
  return nil unless @version
  without_gnu_nor_abi_modifiers = @version.sub(/\Agnu/, "").sub(/eabi(hf)?\Z/, "")
  return nil if without_gnu_nor_abi_modifiers.empty?
  without_gnu_nor_abi_modifiers
end