aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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\()|(\))/, "")