https://bugzilla.redhat.com/show_bug.cgi?id=2085377
--- Comment #31 from jschmidb@de.ibm.com --- Hmm, yes, I'm getting the same build error with rpmbuild -ba.
I removed the static sections from the spec file as you suggested and the build with rpmbuild -ba now succeeds.
... re-attaching changed spec file