[Mageia-sysadm] [349] - only add runtime dependencies in rubygems.rb
root at mageia.org
root at mageia.org
Tue Jan 25 22:59:56 CET 2011
Revision: 349
Author: shikamaru
Date: 2011-01-25 22:59:56 +0100 (Tue, 25 Jan 2011)
Log Message:
-----------
- only add runtime dependencies in rubygems.rb
Modified Paths:
--------------
rpm/rpm-setup/trunk/NEWS
rpm/rpm-setup/trunk/rubygems.rb
Modified: rpm/rpm-setup/trunk/NEWS
===================================================================
--- rpm/rpm-setup/trunk/NEWS 2011-01-25 21:49:32 UTC (rev 348)
+++ rpm/rpm-setup/trunk/NEWS 2011-01-25 21:59:56 UTC (rev 349)
@@ -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
Modified: rpm/rpm-setup/trunk/rubygems.rb
===================================================================
--- rpm/rpm-setup/trunk/rubygems.rb 2011-01-25 21:49:32 UTC (rev 348)
+++ rpm/rpm-setup/trunk/rubygems.rb 2011-01-25 21:59:56 UTC (rev 349)
@@ -74,7 +74,7 @@
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\()|(\))/, "")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110125/339ef309/attachment-0001.html>
More information about the Mageia-sysadm
mailing list