SPECS (AC-branch): mozilla-firefox.spec - fix dictionaries packaging
glen
glen at pld-linux.org
Sun Mar 4 22:11:04 CET 2007
Author: glen Date: Sun Mar 4 21:11:04 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- fix dictionaries packaging
---- Files affected:
SPECS:
mozilla-firefox.spec (1.160.2.11 -> 1.160.2.12)
---- Diffs:
================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.160.2.11 SPECS/mozilla-firefox.spec:1.160.2.12
--- SPECS/mozilla-firefox.spec:1.160.2.11 Sun Mar 4 21:26:20 2007
+++ SPECS/mozilla-firefox.spec Sun Mar 4 22:10:58 2007
@@ -220,7 +220,7 @@
ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res
ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins
-#rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
+rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
sed 's, at LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
@@ -263,6 +263,9 @@
rm -rf $RPM_BUILD_ROOT
%pre
+if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
+ mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
+fi
for d in chrome defaults extensions greprefs icons init.d res searchplugins; do
if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
install -d %{_datadir}/%{name}
@@ -357,6 +360,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.160.2.12 2007/03/04 21:10:58 glen
+- fix dictionaries packaging
+
Revision 1.160.2.11 2007/03/04 20:26:20 glen
- use system myspell; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.160.2.11&r2=1.160.2.12&f=u
More information about the pld-cvs-commit
mailing list