Merge pull request #2479 from MikeMcQuaid/audit-new-formula-patches
audit: new formulae should not require patches.
This commit is contained in:
commit
96ea97967a
@ -732,7 +732,10 @@ class FormulaAuditor
|
||||
}
|
||||
end
|
||||
|
||||
next if spec.patches.empty?
|
||||
spec.patches.each { |p| patch_problems(p) if p.external? }
|
||||
next unless @new_formula
|
||||
problem "New formulae should not require patches to build. Patches should be submitted and accepted upstream first."
|
||||
end
|
||||
|
||||
%w[Stable Devel].each do |name|
|
||||
|
Loading…
x
Reference in New Issue
Block a user