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

Customise the generated Spec File #88

Open
icottambbc opened this issue Nov 6, 2020 · 0 comments
Open

Customise the generated Spec File #88

icottambbc opened this issue Nov 6, 2020 · 0 comments

Comments

@icottambbc
Copy link

Hi maintainers. Love this project, big thumbs up.

I tried it for the first time last week and found myself needing to edit the generated spec file. The two edits required were:

  1. Customise what's in the %build section of the spec file
  2. Add the following macro to the top of the file: %global debug_package %{nil}

More context:

  1. I need to customise what's in the %build section because i'm using yarn not npm. I tried to comply and use npm but i kept getting an error on the npm prune --production bit. It'd be very nice to be able to specify something custom in this section

  2. TBH i'm not sure why i need this. My rpmbuild kept failing and this was the fix google told me to try and it worked.

Keen to hear your thoughts on this.

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

No branches or pull requests

1 participant