python3 rpm macros not available without python3-devel installed. 'rpmbuild --viewrc' will show you.

So if you use the python3 macros to define another macro and you have no python3-devel installed, you must fail.

So, how to define, for example, a %py3_ver macro for the major version of Python3? Must yum be used?

Robin