python-keystoneauth1 fails to create SRPM due to unescaped nested macros. error: Cannot use %python if %__python wasn't redefined to something other than /usr/bin/python. error: lua script failed: [string "<lua>"]:4: error expanding macro error: /builddir/build/SPECS/python-keystoneauth1.spec: line 8: Macro %pyver_sitelib failed to expand Possible fix is at https://src.fedoraproject.org/rpms/python-debtcollector/pull-request/3 Alternate fix is also described there. This blocks the Python 3.9 rebuild.
fixed in https://src.fedoraproject.org/rpms/python-keystoneauth1/c/801824125f3bc801a82a18cf7ee0f3b7091a5e11?branch=master Tested with python3.9 copr mock config.