1 |
commit: 466f0d1dc2e20a4a049dcec45e492484b80ee5b2 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 21 10:30:25 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 21 10:30:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466f0d1d |
7 |
|
8 |
dev-ruby/oauth2: fix install without git |
9 |
|
10 |
Closes: https://bugs.gentoo.org/669050 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
13 |
|
14 |
dev-ruby/oauth2/oauth2-1.4.1.ebuild | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/oauth2/oauth2-1.4.1.ebuild b/dev-ruby/oauth2/oauth2-1.4.1.ebuild |
18 |
index c0707ffc593..94d54df71dd 100644 |
19 |
--- a/dev-ruby/oauth2/oauth2-1.4.1.ebuild |
20 |
+++ b/dev-ruby/oauth2/oauth2-1.4.1.ebuild |
21 |
@@ -40,6 +40,8 @@ all_ruby_prepare() { |
22 |
|
23 |
# Avoid spec that is too fragile in relation to ENV |
24 |
sed -i -e '/outputs to $stdout when OAUTH_DEBUG=true/a skip "fragile ENV stubbing"' spec/oauth2/client_spec.rb || die |
25 |
+ |
26 |
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
27 |
} |
28 |
|
29 |
each_ruby_test() { |