aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubygems.rb')
-rwxr-xr-xrubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubygems.rb b/rubygems.rb
index 51044b3..0ae5979 100755
--- a/rubygems.rb
+++ b/rubygems.rb
@@ -74,7 +74,7 @@ if gems.length > 0
end
if requires
for d in spec.dependencies
- print d.version_requirements.to_rpm(d.name)
+ print d.requirement.to_rpm(d.name)
end
for d in spec.required_rubygems_version.to_rpm("rubygems")
print d.gsub(/(rubygem\()|(\))/, "")