File: no-git-in-gemspec.patch

package info (click to toggle)
ruby-tsort 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 140 kB
  • sloc: ruby: 91; makefile: 4; sh: 4
file content (13 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/tsort.gemspec
+++ b/tsort.gemspec
@@ -20,9 +20,7 @@ Gem::Specification.new do |spec|
   spec.metadata["homepage_uri"] = spec.homepage
   spec.metadata["source_code_uri"] = spec.homepage
 
-  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
-    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
-  end
+  spec.files         = Dir.glob("**/*")
   spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ["lib"]