# File lib/fpm/package/pacman.rb, line 60 def dependencies bogus_regex = /[^\sA-Za-z0-9><=+._@-]/ # Actually modifies depencies if they are not right bogus_dependencies = @dependencies.grep bogus_regex if bogus_dependencies.any? @dependencies.reject! { |a| a =~ bogus_regex } logger.warn("Some of the dependencies looked like they weren't package " \ "names. Such dependency entries only serve to confuse arch. " \ "I am removing them.", :removed_dependencies => bogus_dependencies, :fixed_dependencies => @dependencies) end return @dependencies end