Hello community,

here is the log from the commit of package ruby-common for openSUSE:Factory 
checked in at 2014-09-20 15:51:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby-common (Old)
 and      /work/SRC/openSUSE:Factory/.ruby-common.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby-common"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby-common/ruby-common.changes  2014-09-12 
12:22:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ruby-common.new/ruby-common.changes     
2014-09-20 15:51:11.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Sep 15 14:31:22 UTC 2014 - [email protected]
+
+- the ruby(abi) = $interpreter:$abiversion was not a good idea. rpm
+  treats the $interpreter part as epoch. instead we use now:
+  $interpreter(abi) = $abiversion
+
+  For MRI it means we are basically back to ruby(abi).
+  Examples for alternative ruby interpreters are rubinius(abi) and
+  jruby(abi) (bnc#896658)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygemsdeps.rb ++++++
--- /var/tmp/diff_new_pack.BOusYg/_old  2014-09-20 15:51:12.000000000 +0200
+++ /var/tmp/diff_new_pack.BOusYg/_new  2014-09-20 15:51:12.000000000 +0200
@@ -80,7 +80,7 @@
 def rubyabi_from_path(path)
   m = path.match(%r{.*/([^/]*)/gems/([^/]*)/.*})
   # return m ? m[1] : RbConfig::CONFIG["ruby_version"]
-  return { :interpreter => m[1], :version => m[2], :abi => "#{m[1]}:#{m[2]}" }
+  return { :interpreter => m[1], :version => m[2], :abi => "#{m[1]}:#{m[2]}", 
:requires => "#{m[1]}(abi) = #{m[2]}" }
 end
 
 gemspecs = Array.new
@@ -103,6 +103,7 @@
 
 gemspecs.each do |rubyabi_hash, spec|
   rubyabi  = rubyabi_hash[:abi]
+  rubyabi_requires = rubyabi_hash[:requires]
   if provides
     versions = spec.version.to_s.split('.')
     # old forms
@@ -122,7 +123,7 @@
   end
 
   if requires
-    puts "ruby(abi) = #{rubyabi}" if rubyabi
+    puts rubyabi_requires if rubyabi_requires
     puts "rubygems" if rubyabi_hash[:version].to_f < 1.9
     spec.runtime_dependencies.each do |dep|
       dep.requirement.requirements.each do |r|

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to