Hello community,

here is the log from the commit of package ruby-common for openSUSE:Factory 
checked in at 2012-09-17 14:09:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby-common (Old)
 and      /work/SRC/openSUSE:Factory/.ruby-common.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby-common", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby-common/ruby-common.changes  2012-08-04 
09:34:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ruby-common.new/ruby-common.changes     
2012-09-17 14:09:20.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug  2 05:23:31 UTC 2012 - [email protected]
+
+- "~> 2" doesn't have any meaning, but we still need to handle it
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygemsdeps.rb ++++++
--- /var/tmp/diff_new_pack.z9pgt5/_old  2012-09-17 14:09:21.000000000 +0200
+++ /var/tmp/diff_new_pack.z9pgt5/_new  2012-09-17 14:09:21.000000000 +0200
@@ -77,8 +77,12 @@
         if r.first == '~>'
           versions = r.last.to_s.split('.')
           versions = versions[0,versions.length-1]
-          version = versions.join('.')
-          puts "rubygem(#{rubyabi}:#{dep.name}:#{version}) >= #{r.last}"
+         # ~> 2 is pretty nonsense, so avoid being tricked
+         if versions.length > 1
+            puts "rubygem(#{rubyabi}:#{dep.name}:#{versions.join('.')}) >= 
#{r.last}"
+          else
+            puts "rubygem(#{rubyabi}:#{dep.name}) >= #{r.last}"
+          end
         elsif r.first == '!='
           # this is purely guessing, but we can't generate conflicts here ;(
           puts "rubygem(#{rubyabi}:#{dep.name}) > #{r.last}"

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

Reply via email to