packages: openfire/openfire.spec - added missing service restart (TODO remo...
paszczus
paszczus at pld-linux.org
Fri May 22 19:00:05 CEST 2009
Author: paszczus Date: Fri May 22 17:00:05 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- added missing service restart (TODO removed)
- everything now works fine, rel 1
---- Files affected:
packages/openfire:
openfire.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: packages/openfire/openfire.spec
diff -u packages/openfire/openfire.spec:1.17 packages/openfire/openfire.spec:1.18
--- packages/openfire/openfire.spec:1.17 Fri May 22 15:45:47 2009
+++ packages/openfire/openfire.spec Fri May 22 19:00:00 2009
@@ -2,13 +2,12 @@
#
# TODO:
# - PLDize at all...
-# - missing service restarts in post?
#
%define ver %(echo %{version} | tr . _)
Summary: Openfire XMPP Server
Name: openfire
Version: 3.6.4
-Release: 0.1
+Release: 1
# Source0 URL: http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_src_3_6_4.tar.gz
Source0: %{name}_src_%{ver}.tar.gz
# Source0-md5: 0b5417368355045afbbfac4155efd988
@@ -53,7 +52,7 @@
export LC_ALL=en_US
-%ant -Dbuild.sysclasspath=only -Dno.jspc=true openfire
+%ant -Dbuild.sysclasspath=only -Dno.jspc=true openfire
%ant jspc
%ant -Dplugin=search plugin
cd ..
@@ -99,10 +98,14 @@
rm -rf $RPM_BUILD_ROOT
%preun
-/sbin/chkconfig --del openfire
+if [ "$1" = "0" ]; then
+ %service -q %{name} stop
+ /sbin/chkconfig --del %{name}
+fi
%post
-/sbin/chkconfig --add openfire
+/sbin/chkconfig --add %{name}
+%service %{name} restart
%files
%defattr(644,root,root,755)
@@ -154,6 +157,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2009/05/22 17:00:00 paszczus
+- added missing service restart (TODO removed)
+- everything now works fine, rel 1
+
Revision 1.17 2009/05/22 13:45:47 pawelz
- source code is UTF-8, so set LC_ALL
- do not override classpath for jsps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openfire/openfire.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list