SPECS: seamonkey.spec - avoid subshell in scriptlets
glen
glen at pld-linux.org
Sun Nov 26 12:46:38 CET 2006
Author: glen Date: Sun Nov 26 11:46:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid subshell in scriptlets
---- Files affected:
SPECS:
seamonkey.spec (1.48 -> 1.49)
---- Diffs:
================================================================
Index: SPECS/seamonkey.spec
diff -u SPECS/seamonkey.spec:1.48 SPECS/seamonkey.spec:1.49
--- SPECS/seamonkey.spec:1.48 Sun Nov 26 12:44:54 2006
+++ SPECS/seamonkey.spec Sun Nov 26 12:46:33 2006
@@ -448,56 +448,29 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-umask 022
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%postun
-if [ "$1" = "1" ]; then
- %{_sbindir}/%{name}-chrome+xpcom-generate
-fi
+%post mailnews -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun mailnews -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%post mailnews
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post addon-enigmail -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun addon-enigmail -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%postun mailnews
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post chat -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun chat -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%post addon-enigmail
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post js-debugger -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun js-debugger -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%postun addon-enigmail
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post dom-inspector -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun dom-inspector -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%post chat
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post gnomevfs -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun gnomevfs -p %{_sbindir}/%{name}-chrome+xpcom-generate
-%postun chat
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%post js-debugger
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%postun js-debugger
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%post dom-inspector
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%postun dom-inspector
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%post gnomevfs
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%postun gnomevfs
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%post calendar
-%{_sbindir}/%{name}-chrome+xpcom-generate
-
-%postun calendar
-%{_sbindir}/%{name}-chrome+xpcom-generate
+%post calendar -p %{_sbindir}/%{name}-chrome+xpcom-generate
+%postun calendar -p %{_sbindir}/%{name}-chrome+xpcom-generate
%files
%defattr(644,root,root,755)
@@ -859,6 +832,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.49 2006/11/26 11:46:33 glen
+- avoid subshell in scriptlets
+
Revision 1.48 2006/11/26 11:44:54 glen
- remove ldconfig (no files in system dirs)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/seamonkey.spec?r1=1.48&r2=1.49&f=u
More information about the pld-cvs-commit
mailing list