Drop git usage from gemspec
authorAntonio Terceiro <terceiro@softwarelivre.org>
Wed, 5 Feb 2020 20:36:05 +0000 (21:36 +0100)
committerLucas Nussbaum <lucas@debian.org>
Wed, 5 Feb 2025 13:56:49 +0000 (14:56 +0100)
Forwarded: not-needed

Gbp-Pq: Name 0004-puma.gemspec-drop-git-usage.patch

puma.gemspec

index 04833b3bda6f0131757f3152a954cd6feca45e82..893cd16474f4944991160dea4ba9c9c6b9d5ce8a 100644 (file)
@@ -18,8 +18,7 @@ Gem::Specification.new do |s|
   if RbConfig::CONFIG['ruby_version'] >= '2.5'
     s.metadata["msys2_mingw_dependencies"] = "openssl"
   end
-  s.files = `git ls-files -- bin docs ext lib tools`.split("\n") +
-            %w[History.md LICENSE README.md]
+  s.files = Dir.glob('**/*').reject { |f| f =~ /^debian\//}
   s.homepage = "https://puma.io"
 
   if s.respond_to?(:metadata=)