2010-01-29 20:53:59 +01:00
|
|
|
%rb_arch %(/usr/bin/ruby -e 'print RUBY_PLATFORM')
|
2008-11-28 15:59:39 +01:00
|
|
|
%rb_ver %(/usr/bin/ruby -e 'puts VERSION.sub(/\\\.\\\d$/, "")')
|
|
|
|
#
|
|
|
|
%rb_dir %{_libdir}/ruby/
|
|
|
|
%rb_libdir %{_libdir}/ruby/%{rb_ver}/
|
|
|
|
%rb_archdir %{_libdir}/ruby/%{rb_ver}/%{rb_arch}
|
|
|
|
#
|
|
|
|
%rb_sitedir %{_libdir}/ruby/site_ruby
|
|
|
|
%rb_sitelib %{rb_sitedir}/%{rb_ver}
|
|
|
|
%rb_sitearch %{rb_sitedir}/%{rb_ver}/%{rb_arch}
|
|
|
|
#
|
|
|
|
%rb_vendordir %{_libdir}/ruby/vendor_ruby
|
|
|
|
%rb_vendorlib %{rb_vendordir}/%{rb_ver}
|
|
|
|
%rb_vendorarch %{rb_vendordir}/%{rb_ver}/%{rb_arch}
|