On Tue, Nov 10, 2015 at 8:52 AM, Vít Ondruch <vondruch@redhat.com> wrote:
Hi guys,
For a long time, I thought that it would be interesting to have .gem
expansion support in %setup macro. This would simply our .spec files a
bit. Finally, I gave a go to this idea and proposed this to RPM upstream
[1]. Please let me know (preferably via the PR) if you can foresee any
issues with this approach.
Thanks.
Vít
[1] https://github.com/rpm-software-management/rpm/pull/27
_______________________________________________
ruby-sig mailing list
ruby-sig@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
{gem unpack} SOURCE0 && gem spec SOURCE0 --ruby > {gem_name}.gemspecIf I am reading the code right you have the equivalent ofI do have one question.Hi Vit,I think this is a great idea. Since the instructions for prep of rubygems have settled down for a couple years I think now is the time to do it.
Why aren't you using the -l in the gem spec portion?
Shouldn't it be
{gem unpack} SOURCE0 && gem spec SOURCE0 -l --ruby > {gem_name}.gemspec
Troy