15 lines
800 B
Plaintext
15 lines
800 B
Plaintext
|
%rb_arch %(echo %{_host_cpu}-linux | sed -e "s/i686/i586/" -e "s/armv5tel/armv4l/" -e "s/hppa2.0/hppa/")
|
||
|
%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}
|