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
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