From c0be60541e91c1bbea49d51f40315162ce278f7c Mon Sep 17 00:00:00 2001 From: "Laszlo Boszormenyi (GCS)" Date: Tue, 19 Apr 2022 16:08:21 +0100 Subject: [PATCH] do not use bundler as per Ruby policy Bug-Debian: https://bugs.debian.org/804668 Last-Update: 2019-10-23 Gbp-Pq: Name no_bundler_use.patch --- lib/rb/Makefile.am | 18 +++++++++++------- test/rb/Makefile.am | 5 +++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/lib/rb/Makefile.am b/lib/rb/Makefile.am index 1841065..66f1cce 100755 --- a/lib/rb/Makefile.am +++ b/lib/rb/Makefile.am @@ -22,20 +22,24 @@ DESTDIR ?= / if HAVE_BUNDLER all-local: - $(BUNDLER) install - $(BUNDLER) exec rake build_ext + echo Do not use bundler for all-local +# $(BUNDLER) install +# $(BUNDLER) exec rake build_ext install-exec-hook: - $(BUNDLER) exec rake install + echo Do not use bundler for install-exec-hook +# $(BUNDLER) exec rake install clean-local: - $(BUNDLER) install - $(BUNDLER) exec rake clean + echo Do not use bundler for clean-local +# $(BUNDLER) install +# $(BUNDLER) exec rake clean $(RM) -r spec/gen-rb/ check-local: all - $(BUNDLER) install - $(BUNDLER) exec rake + echo Do not use bundler for check-local +# $(BUNDLER) install +# $(BUNDLER) exec rake endif diff --git a/test/rb/Makefile.am b/test/rb/Makefile.am index 3910934..4a1c866 100644 --- a/test/rb/Makefile.am +++ b/test/rb/Makefile.am @@ -26,8 +26,9 @@ precross: stubs check: stubs if HAVE_BUNDLER - $(BUNDLER) install - $(BUNDLER) exec $(RUBY) -I. test_suite.rb + echo Do not use bundler for check +# $(BUNDLER) install +# $(BUNDLER) exec $(RUBY) -I. test_suite.rb endif clean-local: -- 2.30.2