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

15 lines
476 B
Diff

diff -ruN a/msgpack.gemspec b/msgpack.gemspec
--- a/msgpack.gemspec 2022-02-15 04:14:50.000000000 -0800
+++ b/msgpack.gemspec 2022-06-27 18:44:14.849982046 -0700
@@ -15,8 +15,9 @@
s.files = Dir['lib/**/*.rb', 'lib/**/*.jar']
s.platform = Gem::Platform.new('java')
else
- s.files = `git ls-files`.split("\n")
+ s.files = Dir['**/*']
s.extensions = ["ext/msgpack/extconf.rb"]
+ s.require_paths = ["lib"]
end
s.required_ruby_version = ">= 2.4"