File: 0004-puma.gemspec-drop-git-usage.patch

package info (click to toggle)
puma 6.6.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,884 kB
  • sloc: ruby: 17,542; ansic: 2,003; java: 1,006; sh: 379; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 768 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Antonio Terceiro <terceiro@softwarelivre.org>
Date: Wed, 5 Feb 2020 21:36:05 +0100
Subject: Drop git usage from gemspec

Forwarded: not-needed
---
 puma.gemspec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: puma/puma.gemspec
===================================================================
--- puma.orig/puma.gemspec
+++ puma/puma.gemspec
@@ -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=)