SPECS: mozilla-firefox.spec - move 1.0 upgrade message to trigger ...

glen glen at pld-linux.org
Sun Apr 23 02:06:18 CEST 2006


Author: glen                         Date: Sun Apr 23 00:06:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move 1.0 upgrade message to trigger and correct english
- 755 attr for plugin files, rel 2

---- Files affected:
SPECS:
   mozilla-firefox.spec (1.134 -> 1.135) 

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.134 SPECS/mozilla-firefox.spec:1.135
--- SPECS/mozilla-firefox.spec:1.134	Mon Apr 17 18:07:18 2006
+++ SPECS/mozilla-firefox.spec	Sun Apr 23 02:06:13 2006
@@ -19,7 +19,7 @@
 Summary(pl):	Mozilla Firefox - przeglądarka WWW
 Name:		mozilla-firefox
 Version:	1.5.0.2
-Release:	1
+Release:	2
 License:	MPL/LGPL
 Group:		X11/Applications/Networking
 Source0:	ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2
@@ -277,15 +277,6 @@
 
 %post
 %{_sbindir}/firefox-chrome+xpcom-generate
-%banner %{name} -e <<EOF
-###################################################################
-#                                                                 #
-# NOTICE:                                                         #
-# If you have problem with upgrade old mozilla-firefox 1.0.x, you #
-# should remove it first.                                         #
-#                                                                 #
-###################################################################
-EOF
 
 %postun
 if [ "$1" != "0" ]; then
@@ -293,13 +284,20 @@
 fi
 
 %preun
-if [ "$1" == "0" ]; then
+if [ "$1" = "0" ]; then
 	rm -rf %{_firefoxdir}/chrome/overlayinfo
 	rm -f  %{_firefoxdir}/chrome/*.rdf
 	rm -rf %{_firefoxdir}/components
 	rm -rf %{_firefoxdir}/extensions
 fi
 
+%triggerpostun -- %{name} < 1.5
+%banner %{name} -e <<EOF
+NOTICE:
+If you have problem with upgrade from old mozilla-firefox 1.0.x,
+you should remove it first and reinstall %{name}-%{version}
+EOF
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mozilla*
@@ -311,7 +309,8 @@
 %attr(755,root,root) %{_firefoxdir}/components/*.so
 %{_firefoxdir}/components/*.js
 %{_firefoxdir}/components/*.xpt
-%{_firefoxdir}/plugins
+%dir %{_firefoxdir}/plugins
+%attr(755,root,root) %{_firefoxdir}/plugins/*.so
 %{_firefoxdir}/searchplugins
 %{_firefoxdir}/icons
 %{_firefoxdir}/defaults
@@ -360,6 +359,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.135  2006/04/23 00:06:13  glen
+- move 1.0 upgrade message to trigger and correct english
+- 755 attr for plugin files, rel 2
+
 Revision 1.134  2006/04/17 16:07:18  wrobell
 - requirements for pkgconfig enabled nspr added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.134&r2=1.135&f=u



More information about the pld-cvs-commit mailing list