File: remove-git-in-gemspec.patch

package info (click to toggle)
golang-gitaly-proto 0.123.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 276 kB
  • sloc: ruby: 234; makefile: 70
file content (13 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Debian build env does not have git

--- a/gitaly-proto.gemspec
+++ b/gitaly-proto.gemspec
@@ -15,7 +15,7 @@
   spec.homepage      = "https://gitlab.com/gitlab-org/gitaly-proto"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z #{prefix}`.split("\x0").reject { |f| f.match(%r{^#{prefix}/(test|spec|features)/}) }
+  spec.files         = Dir.glob('ruby/lib/**/*.rb')
   spec.require_paths = ["#{prefix}/lib"]
 
   spec.add_dependency "grpc", "~> 1.0"