CBL-Mariner/SPECS/rubygem-ltsv/fix-file_list.patch

13 строки
537 B
Diff

diff -ruN a/ltsv.gemspec b/ltsv.gemspec
--- a/ltsv.gemspec 2018-11-22 01:03:56.000000000 -0800
+++ b/ltsv.gemspec 2022-07-03 16:38:24.865366352 -0700
@@ -12,7 +12,7 @@
gem.summary = %q{A Parser / Dumper for LTSV}
gem.homepage = "https://github.com/condor/ltsv"
- gem.files = `git ls-files`.split($/)
+ gem.files = Dir['**/*']
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]