aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-10-18 12:46:04 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-10-18 12:46:04 +0000
commit55d3789aa04dc1547f082f673aa1a02af461c4af (patch)
treefe3a53c696d9334d81ff83b908c416aea3635b5a /rubygems.rb
parentfece3f3fee678b58f0b57153289b817f30685176 (diff)
downloadrpm-setup-55d3789aa04dc1547f082f673aa1a02af461c4af.tar
rpm-setup-55d3789aa04dc1547f082f673aa1a02af461c4af.tar.gz
rpm-setup-55d3789aa04dc1547f082f673aa1a02af461c4af.tar.bz2
rpm-setup-55d3789aa04dc1547f082f673aa1a02af461c4af.tar.xz
rpm-setup-55d3789aa04dc1547f082f673aa1a02af461c4af.zip
fix warning
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\()|(\))/, "")