File: no-git-in-gemspec.patch

package info (click to toggle)
ruby-ethon 0.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 396 kB
  • sloc: ruby: 2,108; sh: 9; makefile: 8
file content (20 lines) | stat: -rw-r--r-- 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Do not use git in gemspec
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2021-11-22
Forwarded: no

--- a/ethon.gemspec
+++ b/ethon.gemspec
@@ -20,11 +20,7 @@ Gem::Specification.new do |s|
   s.add_dependency('ffi', ['>= 1.15.0'])
   s.add_dependency('logger')
 
-  s.files = Dir.chdir(__dir__) do
-    `git ls-files -z`.split("\x0").reject do |file|
-      file.start_with?(*%w[. Gemfile Guardfile Rakefile profile spec])
-    end
-  end
+  s.files = Dir.glob("**/*")
   s.require_path = 'lib'
 
   s.metadata              = {