* Josef Reidinger <[email protected]> [Jan 08. 2014 15:21]:
> 
> 1) path contain x86_64-linux but %rb_arch is x86_64-linux-gnu
> 

Looking through the rubygems source code, I came up with this solution:

%{!?gem_platform: %global gem_platform %(ruby -r rubygems -r rbconfig -e 'print 
Gem::Platform.new(RbConfig::CONFIG["arch"]).to_s')}


rubygem-nokogiri builds now locally for me.


Klaus
-- 
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: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to