ruby-fakegem.eclass: warn about using the fallback gemspec
authorHans de Graaff <graaff@gentoo.org>
Thu, 25 Jul 2019 07:05:28 +0000 (09:05 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 27 Jul 2019 07:13:50 +0000 (09:13 +0200)
commit1410e0cfd031874130877994872c094fa68c9584
tree111745fa2e8040fd410968268140b889954b0766
parent8ee49f9a9daecba9257697b1181ac6159c60d9f1
ruby-fakegem.eclass: warn about using the fallback gemspec

The fallback gemspec does not contain dependencies so it will only
work for packages without any runtime gem dependencies. It is easy to
use it by mistake when switching from a gem to a source-based archive,
because the source-based archive does not contain the generated
metadata, but RUBY_FAKEGEM_GEMSPEC has not been set yet. This warning
alerts developers to this situation and encourages them to set
RUBY_FAKEGEM_GEMSPEC instead.

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
eclass/ruby-fakegem.eclass