Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Fedora's RPM node macros #24

Open
ChrisEineke opened this issue May 1, 2014 · 2 comments
Open

Integration with Fedora's RPM node macros #24

ChrisEineke opened this issue May 1, 2014 · 2 comments

Comments

@ChrisEineke
Copy link

What's the chance of generating macro calls as defined in Fedora's packaging guidelines for nodejs: https://fedoraproject.org/wiki/Packaging:Node.js?rd=Node.js/Packagers

@paulcoyle
Copy link
Contributor

It looks like a good idea; I understand the need for being able to install node modules without the reliance on NPM. Unfortunately I don't think I'll have the time to implement this in the near future. Right now I'm going to focus my efforts on getting a test suite up and running then likely some refactoring to make the project a bit more manageable.

Anyhow, if you have any input on this or want to begin implementing it, that would be great!

@peterjanes
Copy link

Turns out you can include the macros in a script, i.e.

options: {
  postInstallScript: [`%systemd_post ${pkg.name}.service`]
}

will work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants