aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
authorRémy Clouard (shikamaru) <shikamaru@mageia.org>2011-01-25 21:59:56 +0000
committerRémy Clouard (shikamaru) <shikamaru@mageia.org>2011-01-25 21:59:56 +0000
commit84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a (patch)
treeda2346b6881f9d7bcb3c3f7c987f019ced50ca88 /rubygems.rb
parent26e4412cc9ac107e0f6b0bbf6ee31aa4319150d5 (diff)
downloadrpm-setup-84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a.tar
rpm-setup-84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a.tar.gz
rpm-setup-84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a.tar.bz2
rpm-setup-84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a.tar.xz
rpm-setup-84204cf2ae2bad9c3fcea2fe4a334ea8d1e1475a.zip
- only add runtime dependencies in rubygems.rb
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 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\()|(\))/, "")