Package: ruby-json / 2.3.0+dfsg-1

0006-Disable-git-usage-during-build-time.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove unnecessary git usage during package build time
Author: Miguel Landaeta <nomadium@debian.org>
Forwarded: no
Last-Update: 2017-03-14

--- a/Rakefile
+++ b/Rakefile
@@ -33,7 +33,7 @@
 PKG_NAME          = 'json'
 PKG_TITLE         = 'JSON Implementation for Ruby'
 PKG_VERSION       = File.read('VERSION').chomp
-PKG_FILES         = FileList[`git ls-files`.split(/\n/)]
+PKG_FILES         = FileList[Dir.glob(File.join("**", "*"))]
 
 EXT_ROOT_DIR      = 'ext/json/ext'
 EXT_PARSER_DIR    = "#{EXT_ROOT_DIR}/parser"