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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to