File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-spamcheck 1.0.0%2Bgit20220819.662e6bf-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 620 kB
  • sloc: python: 828; ruby: 422; makefile: 40
file content (13 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Debian build system is not a git repo

--- a/spamcheck.gemspec
+++ b/spamcheck.gemspec
@@ -14,7 +14,7 @@
   spec.homepage      = "https://gitlab.com/gitlab-org/gl-security/engineering-and-research/automation-team/spam/spamcheck"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z #{prefix}`.split("\x0").reject { |f| f.match(%r{^#{prefix}/(test|spec|features)/}) }
+  spec.files         = Dir['ruby/**/*']
   spec.require_paths = [prefix]
 
   spec.add_dependency "grpc", "~> 1.0"