Don't create generic wrappers when installing for a single implementation.
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Fri, 19 Feb 2010 11:58:36 +0000 (11:58 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Fri, 19 Feb 2010 11:58:36 +0000 (11:58 +0000)
commit06083c634937862b22368f16c658a5740d4e50bd
tree94d283767b05117ae9fb8155e4cac34cca16ddfe
parent677ce213d81d2c1922612194d6ab2e5bc556a0c8
Don't create generic wrappers when installing for a single implementation.

Since we have a few packages that can only be installed for JRuby, and
that thus wouldn't work with any of the selected implementations, and
a few that installs only for Ruby 1.8 (and thus would break if 1.9 was
selected), try to reduce their impact by only producing generic
wrappers when installing for multiple implementations.

This should produce a totally working system after updating from 1.9,
among other things.

To make sure that the wrappers generated by different revisions of
ruby-fakegem.eclass are properly identified, also add the CVS ID of
the eclass in the comments of the generated wrapper.

At the same time add the same specification about generation to the
gemspec files, so that we can identify “older” specifications quickly.
eclass/ruby-fakegem.eclass