Examples of the new native gem standards

David Lutterkort lutter at redhat.com
Tue Feb 16 01:13:06 UTC 2010


On Mon, 2010-02-15 at 19:57 -0500, Bryan Kearney wrote:
> On 02/15/2010 07:45 PM, David Lutterkort wrote:
> > On Mon, 2010-02-15 at 10:00 -0500, Bryan Kearney wrote:
> >> Does anyone have example spec files for the new standrds for doing
> >> native gems? I am trying to follow the guidelines about not installing
> >> in the %build section, but most spec files I see still do that.
> >
> > IIRC, Mamoru came up with that - so any of his[1] rubygem-* packages are
> > prime candidates for an example ;)
> 
> FWIW.. I do not understand the value of doing the gem-install earlier. 
> Since the spec says to do an install and then copy everything, it seems 
> obtuse.

IIRC, the main reason was that if you just do gem install in %install,
it's next to impossible to patch a gem. There were a couple of cases
where that led to serious gymnastics in the specfile.

David




More information about the ruby-sig mailing list