2009-09-27 00:15:03 +02:00
|
|
|
%rb_arch %(echo %{_host_cpu}-linux | sed -e "s/i686/i586/" -e "s/hppa2.0/hppa/")
|
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}
|