( For this contents, I post also to ruby-sig)
Mamoru Tasaka wrote, at 06/29/2010 02:24 AM +9:00:
Jim Meyering wrote, at 06/29/2010 01:49 AM +9:00:
By the way, currently whose srpm are we planing to use for rawhide now? http://meyering.net/private/ruby-1.8.7.299-3.el6.src.rpm or http://mo.morsi.org/files/ruby-1.8.7.299-1.fc13.src.rpm ? Unifying these is much preferable for maintenance.
And, comments to both srpm: - Please don't define %ruby_sitelib and %ruby_sitearch as below: ---------------------------------------------------------------------------- %{!?ruby_sitelib: %global ruby_sitelib %{ruby_vendorlib}/site_ruby} %{!?ruby_sitearch: %global ruby_sitearch %{ruby_vendorarch}/site_ruby} ---------------------------------------------------------------------------- These definitions are confusing compared to this: https://fedoraproject.org/wiki/Packaging/Ruby
In ruby related spec file, we always define %ruby_sitelib, %ruby_sitearch as: ---------------------------------------------------------------------------- %{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"] ')} %{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')} ---------------------------------------------------------------------------- On i686 these are expanded as /usr/lib/ruby/site_ruby/1.8 and /usr/lib/ruby/site_ruby/1.8/i386-linux . Please rename these macros in ruby.spec (like %sitelibbase %sitearchbase or so)
Regards, Mamoru
ruby-sig@lists.fedoraproject.org