ruby/ruby.macros
OBS User autobuild 04279151c4 Accepting request 30840 from devel:languages:ruby
Copy from devel:languages:ruby/ruby based on submit request 30840 from user darix

OBS-URL: https://build.opensuse.org/request/show/30840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=12
2010-01-29 19:53:59 +00:00

15 lines
746 B
Plaintext

%rb_arch %(/usr/bin/ruby -e 'print RUBY_PLATFORM')
%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}