Package: rake / 13.0.1-4~bpo10+1

0003-gemspec-drop-git-usage.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Antonio Terceiro <terceiro@debian.org>
Date: Thu, 29 Jun 2017 10:07:13 -0300
Subject: gemspec: drop git usage
Last-Update: 2020-02-05 Georg Faerber <georg@debian.org>

Index: rake/rake.gemspec
===================================================================
--- rake.orig/rake.gemspec	2020-02-05 11:22:16.747993909 +0000
+++ rake/rake.gemspec	2020-02-05 11:22:16.743993753 +0000
@@ -30,7 +30,7 @@
     "source_code_uri"   => "https://github.com/ruby/rake/tree/v#{s.version}",
   }
 
-  s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
+  s.files = Dir['**/*'].reject { |f| File.directory?(f) || f.match(%r{^(debian|test|spec|features)/}) } -
             %w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
   s.bindir = "exe"
   s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }