Merge pull request #13725 from carlocab/glib-utils-audit

This commit is contained in:
Carlo Cabrera 2022-08-23 00:49:16 +08:00 committed by GitHub
commit 77a4f224f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,7 +263,10 @@ module Homebrew
next
end
if dep_f.oldname && dep.name.split("/").last == dep_f.oldname
# FIXME: Remove `glib-utils` exemption when the following PRs are merged:
# https://github.com/Homebrew/homebrew-core/pull/108307
# https://github.com/Homebrew/homebrew-core/pull/108497
if dep_f.oldname && dep.name.split("/").last == dep_f.oldname && dep_f.oldname != "glib-utils"
problem "Dependency '#{dep.name}' was renamed; use new name '#{dep_f.name}'."
end