bbc / speculate

Automatically generates an RPM Spec file for your Node.js project
Other
66 stars 28 forks source link

Add option to specify nodejs version #16

Closed robtpaton closed 8 years ago

robtpaton commented 8 years ago

Specify a node version to use

robinjmurphy commented 8 years ago

Looks good @bobbypates.

Are you OK to update the README? In the section about Node versions I would just add something that says 'if you're using multiple Node repositories or a repository with multiple versions of node, you can specify an RPM version requirement with the nodeVersion property' and give an example JSON.

http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html#S3-RPM-DEPEND-VERSION-REQUIREMENTS is a good reference for the RPM version syntax to include.