Based on @rasjani's comment to the question:
I found that adding the LC_ALL=C environment variable solved the issue for me.
LC_ALL=C
LC_ALL=C rpmbuild <...remaining args>