RubyGems packaging with Ruby 2.1.0

Vít Ondruch vondruch at redhat.com
Fri Jan 10 14:11:18 UTC 2014


Dne 23.12.2013 18:24, Vít Ondruch napsal(a):
>
> 1) Modify our operating_system.rb and let it treat gem installation
> into %{buildroot} specially

I went ahead with this option and this [1] is the implementation. In
attachment, you can see the changes needed to rubygem-bcrypt-ruby.spec.
Few comments:

* I am going to backport patches to remove the "rm -rf
%{buildroot}%{gem_dir}/doc/extensions" need.

* Not sure if there is some neat way how to get rid of the
"-I%{buildroot}%{gem_extdir_mri}" from the %check section though :/ May
be "-I$(dirs +1)%{gem_extdir_mri}" could be better pattern, since it
points into ${_builddir}, i.e. into the directory where the test suite
is executed. Any thoughts on this topic?


Vít





[1]
http://pkgs.fedoraproject.org/cgit/ruby.git/commit/?h=private-ruby-2.1&id=19ff4992f3753a8a614abf5088635b6fbd2464e0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rubygem-crypt-ruby.diff
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/ruby-sig/attachments/20140110/6fde5392/attachment.bin>


More information about the ruby-sig mailing list