dev-ruby/oauth2: fix install without git
authorHans de Graaff <graaff@gentoo.org>
Sun, 21 Oct 2018 10:30:25 +0000 (12:30 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 21 Oct 2018 10:30:47 +0000 (12:30 +0200)
Closes: https://bugs.gentoo.org/669050
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

dev-ruby/oauth2/oauth2-1.4.1.ebuild

index c0707ffc593eb8df42b86cd66b8cc16f0141e764..94d54df71dd861b51bfbd8c69733329f817275cd 100644 (file)
@@ -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() {