From 466f0d1dc2e20a4a049dcec45e492484b80ee5b2 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 21 Oct 2018 12:30:25 +0200 Subject: [PATCH] dev-ruby/oauth2: fix install without git Closes: https://bugs.gentoo.org/669050 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- dev-ruby/oauth2/oauth2-1.4.1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-ruby/oauth2/oauth2-1.4.1.ebuild b/dev-ruby/oauth2/oauth2-1.4.1.ebuild index c0707ffc593e..94d54df71dd8 100644 --- a/dev-ruby/oauth2/oauth2-1.4.1.ebuild +++ b/dev-ruby/oauth2/oauth2-1.4.1.ebuild @@ -40,6 +40,8 @@ all_ruby_prepare() { # Avoid spec that is too fragile in relation to ENV sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die } each_ruby_test() { -- 2.26.2