Mailinglist Archive: opensuse-ruby (69 mails)

< Previous Next >
Re: [opensuse-ruby] ruby 2.1
* Josef Reidinger <jreidinger@xxxxxxx> [Jan 08. 2014 15:21]:

Ruby in 2.1 change destination where lives extensions. In ruby 2.1 it
lives in e.g. for nokogiri


we need a couple of more rpm macros to specify gem pathes here. I am quite far
with the
following set:

%{!?gem_base: %global gem_base %(ruby -r rubygems -e 'print')}
%{!?gem_extensions: %global gem_extensions %(ruby -r rubygems -e 'print')}
%{!?gem_doc_ext: %global gem_doc_ext %(ruby -r rubygems -e 'bs =; rp = bs.extensions_dir.rpartition(bs.base_dir);
print rp[1]+"/doc"+rp[2]')}

(gem native extensions doc directory is a mess since its not reflected
in Gem::BasicSpecification :-/)

However, I still run into

[ 16s] rubygem-nokogiri-1.6.1-1.x86_64.rpm: directories not owned by a
[ 16s] - /usr/lib64/ruby/gems/2.1.0/extensions/x86_64-linux
[ 16s] - /usr/lib64/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0

which apparently is a ruby21 packaging bug:

rpm -qf /usr/lib64/ruby/gems/2.1.0/extensions/x86_64-linux
file /usr/lib64/ruby/gems/2.1.0/extensions/x86_64-linux is not owned by any

@coolo: I'll submit a new ruby21 with a fixed filelist.

SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ruby+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups