https://bugzilla.redhat.com/show_bug.cgi?id=1896988
--- Comment #3 from Michel Alexandre Salim michel@michel-slm.name --- (In reply to Neal Gompa from comment #2)
-DPACKAGE_VERSION={version} \ -DSO_VERSION={version}
I think you mean "%{version}" here?
oh, silly me. I commented them out in an interim build (and removed the % to fix the warnings about comments having macros) to check that the package builds fine when not overriding versions, and... didn't uncomment them properly