From b47a93160d97ac30bf521d29166911751ca249083a17fcdbdf217f1dba612ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 9 Apr 2014 09:44:48 +0000 Subject: [PATCH] - Fix autotext symlinking to point right path. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=129 --- libreoffice.changes | 5 +++++ libreoffice.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libreoffice.changes b/libreoffice.changes index cb532f6..6c135be 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 9 09:44:26 UTC 2014 - tchvatal@suse.com + +- Fix autotext symlinking to point right path. + ------------------------------------------------------------------- Fri Mar 28 12:23:02 CET 2014 - fcrozat@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index d120abb..703d81e 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1054,7 +1054,7 @@ for file in idxcaption.xsl idxcontent.xsl main_transform.xsl ; do echo "%{_datadir}/%{name}/help/$file" >> file-lists/common_list.txt done # autotext is another self contained dir -mkdir -p %{buildroot}/%{_datadir}/%{name}/autotext/ +mkdir -p %{buildroot}/%{_datadir}/%{name}/share/autotext/ grep -v '%{_libdir}/%{name}/share/autotext' file-lists/common_list.txt > tmplist mv tmplist file-lists/common_list.txt mv %{buildroot}/%{_libdir}/%{name}/share/autotext/ %{buildroot}/%{_datadir}/%{name}/share/ @@ -1129,7 +1129,7 @@ if [ -d "$helpdir" ]; then fi if [ -d "$autotextdir" ]; then rm -rf "$autotextdir" || true - ln -s "%{_datadir}/%{name}/autotext" "$autotextdir" + ln -s "%{_datadir}/%{name}/share/autotext" "$autotextdir" fi %post