- Thanks Sterling, I tried to split those ‘–define “blah”’ arguments to 2 arguments and it doesn’t seem to fix the problem.
- I did think about using nebula.os-package however, according to their API they use Gradle DSL to construct rpm packages. It doesn’t offer a way for us to construct rpm package from spec files.
- We have a huge amount of spec files, converting spec files logic to Gradle DSL is not an option for us at the moment.
- I looked around and apparently scons/python is a preferred choice for building rpm packages from spec files, so I’m trying to use gradle to drive scons to build rpm from spec files with rpmbuild command
- Little bit history, we’re mainly C/C++ shops so we’re currently using scons to build our system. However, we run into many problems with specifying dynamically generated dependency in scons for Java side. So we’re thinking of using Gradle as orchestration tool where it would drive scons to build C++ side, build Java side and dependency management.
- It would be very nice if we could use gradle to build rpm packages from spec files through rpmbuild command line as our company have huge amount of spec files. Furthermore, it would also drive more Gradle adoption as I think most people use spec files to build rpm packages.