Fixed gem ~> version operator translated to rpm require. #193

Merged
merged 1 commit into from Apr 1, 2012
Jump to file
+1 −1
Split
View
@@ -91,7 +91,7 @@ def converted_from(origin)
name, op, version = dep.split(/\s+/)
if op == "~>"
# ~> x.y means: > x.y and < (x+1).0
- fixed_deps << "#{name} > #{version}"
+ fixed_deps << "#{name} >= #{version}"
fixed_deps << "#{name} < #{version.to_i + 1}.0.0"
else
fixed_deps << dep