File: no-git-in-gemspec.patch

package info (click to toggle)
ruby-bootsnap 1.18.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 524 kB
  • sloc: ruby: 3,718; ansic: 756; sh: 14; makefile: 9
file content (23 lines) | stat: -rw-r--r-- 663 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: Jongmin Kim <jmkim@pukyong.ac.kr>
Date: Sun, 1 May 2022 18:49:31 -0300
Subject: No git in gemspec

Forwarded: not-needed
Last-Update: 2019-06-03

Replace calls to 'git' in gemspec by explicit lists of files.
---
 bootsnap.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/bootsnap.gemspec
+++ b/bootsnap.gemspec
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
     "allowed_push_host" => "https://rubygems.org",
   }
 
-  spec.files = `git ls-files -z ext lib`.split("\x0") + %w(CHANGELOG.md LICENSE.txt README.md)
+  spec.files = Dir.glob('lib/**') + Dir.glob('ext/**')
   spec.require_paths = %w(lib)
 
   spec.bindir        = "exe"