1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Pirate Praveen <praveen@debian.org>
Date: Wed, 3 Nov 2021 08:18:08 -0300
Subject: remove-git-usage-in-gemspec
If git is present in build env, it causes build failures.
---
enumerable-statistics.gemspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/enumerable-statistics.gemspec b/enumerable-statistics.gemspec
index bb00228..d123a7c 100644
--- a/enumerable-statistics.gemspec
+++ b/enumerable-statistics.gemspec
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.description = %q{This library provides statistics features for Enumerable}
spec.homepage = "https://github.com/mrkn/enumerable-statistics"
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir.glob("**/*").select {|v| v !~ /^debian/}
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["ext", "lib"]
|