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.
Sender: Miguel Armas
I also suffered from this bug. I corrected it including only
dependencies of type :runtime with the following patch:
I didn’t include the :development dependencies as BuildRequires
because they are not needed to create the RPM from the SRPM