From 4e96942e0f86ca2ae926a68feae33fbacf2cb128 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Nov 15 2018 11:53:56 +0000 Subject: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 --- diff --git a/python-cherrypy.spec b/python-cherrypy.spec index 5d4de79..11f8683 100644 --- a/python-cherrypy.spec +++ b/python-cherrypy.spec @@ -1,3 +1,7 @@ +# This package depends on automagic byte compilation +# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 +%global _python_bytecompile_extra 1 + %if !(0%{?fedora} > 12 || 0%{?rhel} > 5) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif