diff --git a/libreoffice.spec b/libreoffice.spec index 59f3a36..ee05ef2 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1108,9 +1108,11 @@ done %make_autocorr_aliases -l it-IT it-CH %make_autocorr_aliases -l nl-NL nl-AW %make_autocorr_aliases -l sv-SE sv-FI -for file in %{buildroot}%{_libdir}/%{name}/share/autocorr/acor*.dat ; do - echo "$file" >> file-lists/common_list.txt +pushd %{buildroot}%{_libdir}/%{name}/share/autocorr +for file in acor*.dat ; do + echo "%{_libdir}/%{name}/share/autocorr/$file" >> file-lists/common_list.txt done +popd # Symlink uno.py and unohelper.py so that python can find them mkdir -p %{buildroot}%{python_sitelib}