changed %{_rpmconfigdir}/macros.d to %_rpmmacrodir twice
The Open Build Service is an openSUSE project.