On 01/08/14 21:36, T.C. Hollingsworth wrote:
On Wed, Jul 30, 2014 at 3:23 AM, Tom Hughes tom@compton.nu wrote:
Rather than packing each one individually, and in the spirit of packaging from source, should we in fact just have one SRPM which builds all the RPMs from source using lodash-cli?
Makes sense to me. :-)
So I've knocked up the attached patch which actually extends the existing nodejs-node-lodash spec file using some lua magic to generate the separate modules as well as the existing nodejs-lodash-node module.
The alternative is to create a separate srpm, but there isn't really a source to base it on other than the list of modules to build?
The package.json files it produces aren't quite the same as the published ones for the modules. I assume the differences are changes made by npm when publishing? Biggest issue is probably that the private flag is set, which means the auto-provide doesn't happen and I have to add it manually instead.
What do people think about this approach?
Tom