SPECS: sugarcrm.spec - add missing webapp triggers

glen glen at pld-linux.org
Tue Feb 14 17:43:28 CET 2006


Author: glen                         Date: Tue Feb 14 16:43:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add missing webapp triggers

---- Files affected:
SPECS:
   sugarcrm.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/sugarcrm.spec
diff -u SPECS/sugarcrm.spec:1.21 SPECS/sugarcrm.spec:1.22
--- SPECS/sugarcrm.spec:1.21	Tue Feb 14 17:42:06 2006
+++ SPECS/sugarcrm.spec	Tue Feb 14 17:43:23 2006
@@ -10,7 +10,7 @@
 Summary(pl):	Narzędzie CRM
 Name:		sugarcrm
 Version:	4.0.1
-Release:	0.7
+Release:	0.8
 License:	SugarCRM Public License
 Group:		Applications/WWW
 Source0:	http://www.sugarforge.org/frs/download.php/919/%{namesrc}-%{version}.zip
@@ -127,6 +127,18 @@
 	chown root:http %{_sysconfdir}/config.php
 fi
 
+%triggerin -- apache1
+%webapp_register apache %{_webapp}
+
+%triggerun -- apache1
+%webapp_unregister apache %{_webapp}
+
+%triggerin -- apache < 2.2.0, apache-base
+%webapp_register httpd %{_webapp}
+
+%triggerun -- apache < 2.2.0, apache-base
+%webapp_unregister httpd %{_webapp}
+
 %triggerpostun -- %{name} < 3.0.1-0.b.17
 # rescue app config
 if [ -f /etc/sugarcrm/config.php.rpmsave ]; then
@@ -201,6 +213,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/02/14 16:43:23  glen
+- add missing webapp triggers
+
 Revision 1.21  2006/02/14 16:42:06  glen
 - reverted; webapps do that
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sugarcrm.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list