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

Re: rubygems integration for packages shipping more than one gemspec file



Hi Antonio,

On Fri, Jan 04, 2013 at 10:01:19PM -0300, Antonio Terceiro wrote:

> On Wed, Nov 14, 2012 at 11:41:07PM +0100, Cédric Boutillier wrote:
> > Since the json gem ships several gemspec files in addition to the
> > json.gemspec (in particular json_pure.gemspec). Would it make sense to
> > make gem2deb install maybe not all, but possibly several of them, in
> > adequation with the files we install in the Debian package?
> > More precisely, would it make sense to have gem2deb/dh ship both
> > json-version.gemspec and json_pure.gemspec? Should we instead split such
> > packages, one binary per gemspec file?
> > 
> > I must admit that I have not a long experience with the .gemspec files,
> > so I apologize if I miss something obvious here.

> My opinion is that the best option is to make one binary package per
> gemspec. In this case, this will mirror the design of the upstream
> package; if you look at its Rakefile¹, you will see that the json
> project produces separate gems for json_pure (lib/*) and json (ext/*).

This seems indeed the right thing to do, thanks. I'll try to implement
such a split of binary packages for the next version.

Cédric

Attachment: signature.asc
Description: Digital signature


Reply to: