From 3714ebd06d3f6f38c0cfa635b46145e15ad16a23 Mon Sep 17 00:00:00 2001 From: Michka Popoff Date: Thu, 8 Apr 2021 22:58:13 +0200 Subject: [PATCH] formula auditor: skip uses_from_macos audit for linux-only formula --- Library/Homebrew/formula_auditor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index a17873c506..f04c164ac2 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -233,6 +233,7 @@ module Homebrew dep_f.keg_only? && dep_f.keg_only_reason.provided_by_macos? && dep_f.keg_only_reason.applicable? && + formula.requirements.none?(LinuxRequirement) && !tap_audit_exception(:provided_by_macos_depends_on_allowlist, dep.name) new_formula_problem( "Dependency '#{dep.name}' is provided by macOS; " \