Try this: BuildRequires: python3-devel # bytecompile with Python 3 %global __python %{__python3} in your specfile to force it to bytecompile your Python code with Python 3. Kevin Kofler _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx