This should help work around the removed python2 support in the flatpak rpm macros.
The quearcode package