mmornati / docker-mock-rpmbuilder

Build RPMs using the Mock Project (for any platform)
GNU General Public License v2.0
62 stars 42 forks source link

Defines #11

Closed jarekg83 closed 7 years ago

jarekg83 commented 7 years ago

Now everything should work. Removed root user from Dockerfile and fixed build script with failed to build source RPMs.

Full description from the previous pull request: Main script doesn't support define variables. I do work on the single spec files but they build differently depends on the defines I set. Mock has an option to use defines so I added them to the script. However I had to change the way the script runs as by passing an environment variable to docker Mock didn't actually recognising them or rather it did but from some reason it was wrapping them around the single quotes what broke the syntax. I had to use the main script as a helper to generate final temporary script which runs Mock and compiles the package.