From e9d608587d83221420653b3559974c87c9247824 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 15 Oct 2013 22:54:31 -0500 Subject: [PATCH] Remove audit check for XZ Any formula with a URL that ends in ".xz" now gets this dependency automatically, so this check no longer does anything. --- Library/Homebrew/cmd/audit.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 711812daee..0f09016b8e 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -263,10 +263,6 @@ class FormulaAuditor urls.select { |u| u =~ %r[https://.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u| problem "Use /archive/ URLs for GitHub tarballs (url is #{u})." end - - if urls.any? { |u| u =~ /\.xz/ } && !f.deps.any? { |d| d.name == "xz" } - problem "Missing a build-time dependency on 'xz'" - end end def audit_specs