From 84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Clouard=20=28shikamaru=29?= Date: Tue, 25 Jan 2011 21:59:56 +0000 Subject: - only add runtime dependencies in rubygems.rb --- NEWS | 3 +++ rubygems.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 1f9b723..76de8d0 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +Version 1.114 - 9 December 2010, by Rémy Clouard +- only add runtime dependencies in rubygems.rb + Version 1.113 - 2 November 2010, by Funda Wang - find gstreamer provides diff --git a/rubygems.rb b/rubygems.rb index 0ae5979..1a775bd 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.requirement.to_rpm(d.name) + print d.requirement.to_rpm(d.name) unless d.type != :runtime end for d in spec.required_rubygems_version.to_rpm("rubygems") print d.gsub(/(rubygem\()|(\))/, "") -- cgit v1.2.1