Drop git usage from gemspec
authorAntonio Terceiro <terceiro@softwarelivre.org>
Wed, 5 Feb 2020 20:36:05 +0000 (21:36 +0100)
committerLucas Kanashiro <kanashiro@debian.org>
Wed, 19 Jul 2023 19:35:12 +0000 (20:35 +0100)
Forwarded: not-needed

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

puma.gemspec

index e89a78613b255b3758a208ebcce64412d80a25b3..54419e4e6445574eb977ec9e19823696edc3dd9a 100644 (file)
@@ -13,8 +13,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=)