Elan Ruusamäe glen at
Mon Oct 23 19:09:43 CEST 2017

$ rpm -Uhv ../RPMS/ruby-pkg-config-1.2.8-1.noarch.rpm

error: Failed dependencies:
         ruby(abi) = 2.3.0 is needed by ruby-pkg-config-1.2.8-1.noarch

$ rpm -q ruby-modules --provides|grep abi

ruby(abi) = 2.3

so, this used to be 2.3, but now is 2.3.0 because ruby_version is defined.

which way we want to fix this? 2.3 or 2.3.0?

# as ruby_version may be empty, take version from basename of archdir
ruby_version = RbConfig::CONFIG["ruby_version"].empty? ? 
File.basename(RbConfig::CONFIG["archdir"]) : 

in ruby.spec it's hardcoded, likely due bootstrap issues, (rubygems.rb 
can be probably hacked to provide it automatically, but probably not 
worth of it)


More information about the pld-devel-en mailing list