SPECS (AC-branch): openoffice.org.spec - link dicts dir before sha...
glen
glen at pld-linux.org
Sun Mar 11 17:00:12 CET 2007
Author: glen Date: Sun Mar 11 16:00:12 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- link dicts dir before share dir
---- Files affected:
SPECS:
openoffice.org.spec (1.704.2.27 -> 1.704.2.28)
---- Diffs:
================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.704.2.27 SPECS/openoffice.org.spec:1.704.2.28
--- SPECS/openoffice.org.spec:1.704.2.27 Sun Mar 11 11:53:35 2007
+++ SPECS/openoffice.org.spec Sun Mar 11 17:00:06 2007
@@ -2415,16 +2415,16 @@
rm -rf $RPM_BUILD_ROOT
%pre core
-if [ -d %{_libdir}/%{name}/share ] && [ ! -L %{_libdir}/%{name}/share ]; then
- install -d %{_datadir}/%{name}
- mv %{_libdir}/%{name}/share %{_datadir}/%{name}/share || mv %{_libdir}/%{name}/share{,.rpmsave}
-fi
%if %{with system_myspell}
# we symlink the dir, unless smb wishes to patch OOo to use system dir directly
if [ -d %{_libdir}/%{name}/share/dict/ooo ] && [ ! -L %{_libdir}/%{name}/share/dict/ooo ]; then
rmdir %{_libdir}/%{name}/share/dict/ooo 2>/dev/null || mv -v %{_libdir}/%{name}/share/dict/ooo{,.rpmsave} || :
fi
%endif
+if [ -d %{_libdir}/%{name}/share ] && [ ! -L %{_libdir}/%{name}/share ]; then
+ install -d %{_datadir}/%{name}
+ mv %{_libdir}/%{name}/share %{_datadir}/%{name}/share || mv %{_libdir}/%{name}/share{,.rpmsave}
+fi
%post core
umask 022
@@ -3812,6 +3812,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.704.2.28 2007/03/11 16:00:06 glen
+- link dicts dir before share dir
+
Revision 1.704.2.27 2007/03/11 10:53:35 glen
- missing dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/openoffice.org.spec?r1=1.704.2.27&r2=1.704.2.28&f=u
More information about the pld-cvs-commit
mailing list