From 885bff26c0497a611cc1f36d098f4cbc5f56446b12d92b50a81bce0c340a15dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 10 Jun 2015 14:31:48 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=286 --- libreoffice.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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