diff --git a/libreoffice.spec b/libreoffice.spec index 1ed6bcb..3979edc 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1316,8 +1316,11 @@ chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3 # Generate python cache files %{python_type} -m compileall %{buildroot}/%{_libdir}/libreoffice/program/ %{python_type} -m compileall %{buildroot}/%{_libdir}/libreoffice/share/extensions/ +%{python_type} -m compileall %{buildroot}/%{_libdir}/libreoffice/share/Scripts/python/ # pyuno links to pysitedir -%{python_type} -m compileall %{buildroot}/%{python3_sitelib} +pushd %{buildroot}/%{python3_sitelib} +%{python_type} -m compileall . +popd # Move python cache to respective filelist for i in file-lists/*.txt; do