]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rubygems.rb
- cleanup upgrade path from rpm5
[packages/rpm.git] / rubygems.rb
index 234bf1dbe4f2addd8524a2a1ac0fb74adc5deae8..a3f63aaf3f112b303544b22ba2ec3984078d1b01 100755 (executable)
@@ -47,7 +47,6 @@ for path in $stdin.readlines
      abi_provide = true
      ruby_versioned = true
   elsif path.match(specpatt)
-    ruby_versioned = true
     gems.push(path.chomp)
   # this is quite ugly and lame, but the assumption made is that if any files
   # found in any of these directories specific to this ruby version, the
@@ -95,8 +94,7 @@ if gems.length > 0
               version = version.gsub(/\~>/, '=>')
             end
             if version[0..1] == "!="
-              pessimistic = "rubygem(%s) < %s\n" % [name, Gem::Version.create(version[3..-1]).bump]
-              version = version.gsub(/\!=/, '=>')
+              version = version.gsub(/\!=/, '>')
             end
             version = version.sub(/^/, ' ')
           end
This page took 0.03647 seconds and 4 git commands to generate.