aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS3
-rwxr-xr-xrubygems.rb2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 91580db..627a060 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
Version 1.110 - 18 October 2010, by Per Øyvind Karlsen
-- drop %gem_unpack, equivalent behaviour has been implemented in %setup now.
+- fix warning from rubygems.rb
+- drop %gem_unpack, equivalent behaviour has been implemented in %setup now
Version 1.109 - 16 October 2010, by Per Øyvind Karlsen
- don't install dependencies for gems when using %gem_install
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\()|(\))/, "")