From: Hans de Graaff Date: Sun, 21 Oct 2018 10:30:25 +0000 (+0200) Subject: dev-ruby/oauth2: fix install without git X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=466f0d1dc2e20a4a049dcec45e492484b80ee5b2;p=gentoo.git 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 --- 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() {