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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to