azweb76/node-rpmbuild — pull request #2 by seangarner (2014-06-17 07:16:22+00:00)
Title: fix rpmbuild under shells that don't support {} expansion

Creating the rpmroot directories used {} expansion which relies on the shell supporting it. Node always seems to use /bin/sh in linux and in ubuntu that's a symlink to dash not bash.

I've modified it to do the expansion in js so which shell is used doesn't matter.