We\'re currently in the process of moving away from scons to gradle to build the java portions of our software. One thing we need is to build rpm from the spec file. So we tried
Thanks Joern, I got it working by split the arguments '--define blah' into separate arguments and remove any white spaces and it seems to work just fine.
in spec file, have you tried to replace BuildArchitectures with BuildArch, maybe a typo? ref. https://fedoraproject.org/wiki/How_to_create_an_RPM_package#SPEC_file_overview
rpmbuild -vv gives debug.
kind regards
You can try the SetupBuilder plugin. It build also an rpm installer.