SHA256
1
0
forked from pool/ruby
ruby/ruby.macros

15 lines
776 B
Plaintext
Raw Normal View History

%rb_arch %(echo %{_host_cpu}-linux | sed -e "s/i686/i586/" -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}