diff --git a/sugar-typing-turtle.spec b/sugar-typing-turtle.spec index 95e327c..cf634b4 100644 --- a/sugar-typing-turtle.spec +++ b/sugar-typing-turtle.spec @@ -1,7 +1,3 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - Name: sugar-typing-turtle Version: 32 Release: 3%{?dist} @@ -42,6 +38,9 @@ python3 ./setup.py build python3 ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix} rm %{buildroot}%{_prefix}/share/applications/*.desktop || true +# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3 +%py_byte_compile %{python3} %{buildroot}%{_datadir}/{sugaractivitydir}/TypingTurtle.activity/ + %find_lang org.laptop.community.TypingTurtle