- Fix autotext symlinking to point right path.
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=129
This commit is contained in:
parent
3ef484c576
commit
b47a93160d
@ -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
|
Fri Mar 28 12:23:02 CET 2014 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -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
|
echo "%{_datadir}/%{name}/help/$file" >> file-lists/common_list.txt
|
||||||
done
|
done
|
||||||
# autotext is another self contained dir
|
# 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
|
grep -v '%{_libdir}/%{name}/share/autotext' file-lists/common_list.txt > tmplist
|
||||||
mv tmplist file-lists/common_list.txt
|
mv tmplist file-lists/common_list.txt
|
||||||
mv %{buildroot}/%{_libdir}/%{name}/share/autotext/ %{buildroot}/%{_datadir}/%{name}/share/
|
mv %{buildroot}/%{_libdir}/%{name}/share/autotext/ %{buildroot}/%{_datadir}/%{name}/share/
|
||||||
@ -1129,7 +1129,7 @@ if [ -d "$helpdir" ]; then
|
|||||||
fi
|
fi
|
||||||
if [ -d "$autotextdir" ]; then
|
if [ -d "$autotextdir" ]; then
|
||||||
rm -rf "$autotextdir" || true
|
rm -rf "$autotextdir" || true
|
||||||
ln -s "%{_datadir}/%{name}/autotext" "$autotextdir"
|
ln -s "%{_datadir}/%{name}/share/autotext" "$autotextdir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
x
Reference in New Issue
Block a user