[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple gemspecs in source



On Fri, May 15, 2015 at 02:15:40PM +0530, Balasankar C wrote:
> Hi,
> 
> I am trying to packgage the gem github-linguist[1] since it is a dependency
> for GitLab. But, the GitHub repo of the gem contains two gemspecs and hence
> dpkg-buildpackage fails with the following error message
> 
> /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:94:in `load_gemspec': More
> than one .gemspec file in this directory: github-linguist.gemspec,
> github-linguist-grammars.gemspec (RuntimeError)
> 
> How to handle multiple gemspecs inside the source of a single gem? Is there
> any example that I can refer?

in debian/rules:

  export DH_RUBY_GEMSPEC = foo.gemspec

See dh_ruby(1)

-- 
Antonio Terceiro <terceiro@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: