aboutsummaryrefslogtreecommitdiffstats
path: root/rubygems.rb
diff options
context:
space:
mode:
authorRémy Clouard <shikamaru@mandriva.org>2010-12-09 20:23:50 +0000
committerRémy Clouard <shikamaru@mandriva.org>2010-12-09 20:23:50 +0000
commit4814a3fbb3931946d1b4dc394054480b90704d34 (patch)
treea4827b412eff0e2a20c0ecf53f5c22f6b5842598 /rubygems.rb
parentf6ec71946ac52b63cf48868713682aaff562d5f8 (diff)
downloadrpm-setup-4814a3fbb3931946d1b4dc394054480b90704d34.tar
rpm-setup-4814a3fbb3931946d1b4dc394054480b90704d34.tar.gz
rpm-setup-4814a3fbb3931946d1b4dc394054480b90704d34.tar.bz2
rpm-setup-4814a3fbb3931946d1b4dc394054480b90704d34.tar.xz
rpm-setup-4814a3fbb3931946d1b4dc394054480b90704d34.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..4adc6a8 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\()|(\))/, "")