[packages/ruby/dev-2.1] fix x32 build
glen
glen at pld-linux.org
Sat Aug 1 16:44:00 CEST 2015
commit f144cce6dd15fab686f0b9c4dfc18122ff6d9005
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Aug 1 17:43:55 2015 +0300
fix x32 build
ruby.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ruby.spec b/ruby.spec
index c9790ec..c707623 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -509,7 +509,7 @@ cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/testrb%{ruby_suffix}.1
%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/html
# detect this runtime, "make install" is affected by operating_system.rb what is installed in system!
-gem_dir=$(./miniruby -Ilib -I. -I.ext/common ./tool/runruby.rb -- --disable-gems -r$(basename *-linux-fake.rb .rb) -r rubygems -e 'puts Gem.default_dir')
+gem_dir=$(./miniruby -Ilib -I. -I.ext/common ./tool/runruby.rb -- --disable-gems -r$(basename *-linux*-fake.rb .rb) -r rubygems -e 'puts Gem.default_dir')
# Move gems root into common directory, out of Ruby directory structure.
install -d $RPM_BUILD_ROOT%{gem_dir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/f144cce6dd15fab686f0b9c4dfc18122ff6d9005
More information about the pld-cvs-commit
mailing list