gem2rpm includes all dependencies instead of including only runtime dependencies

Posted by prunio on Stack Overflow See other posts from Stack Overflow or by prunio
Published on 2010-03-15T11:49:12Z Indexed on 2010/05/17 8:50 UTC
Read the original article Hit count: 754

Filed under:
|
|
|

Version 0.6.0 of gem2rpm includes all (development and runtime) dependencies for a given Gem.

Example: Rack Gem (http://rubygems.org/gems/rack) Version 1.1.0 has no runtime dependencies, but six development dependencies.

Console output of gem2rpm --dependencies rack-1.0.1.gem is:

  • rubygem(test-spec) >= 0
  • rubygem(camping) >= 0
  • rubygem(fcgi) >= 0
  • rubygem(memcache-client) >= 0
  • rubygem(mongrel) >= 0
  • rubygem(ruby-openid) >= 2.0.0
  • rubygem(thin) >= 0`

How can I specify to only include runtime dependencies?

I have also opened a ticket on rubyforge.org, but there isn't a lot of activity on that tracker.

Thank you for any hints.

© Stack Overflow or respective owner

Related posts about rpm

Related posts about ruby