File: use-system-grpc-tools.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-- 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Use packaged version of grpc-tools

--- a/_support/generate-proto-ruby
+++ b/_support/generate-proto-ruby
@@ -27,7 +27,7 @@
     GO_PROTO_LIBS << File.absolute_path(File.join('..', PROTO_INCLUDE))
     includes = GO_PROTO_LIBS.join(":")
 
-    run!(%W[bundle exec grpc_tools_ruby_protoc --proto_path=#{includes} --ruby_out=../#{ruby_lib_spamcheck} --grpc_out=../#{ruby_lib_spamcheck}] + PROTO_FILES)
+    run!(%W[grpc_tools_ruby_protoc --proto_path=#{includes} --ruby_out=../#{ruby_lib_spamcheck} --grpc_out=../#{ruby_lib_spamcheck}] + PROTO_FILES)
   end
 
   write_ruby_requires