pgpool2.git / summary / log / commit / refs

commit    5ca82532909e8ee675c40269ea6d1561e73f3ac2
Author:   Devrim GÜNDÜZ <devrim at gunduz.org>
Date:     Tue Nov 03 11:14:20 2009 +0000

    - Remove init script from all runlevels before uninstall. Per #RH Bugzilla
      532177


pgpool.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pgpool.spec b/pgpool.spec index 21bcf88ae..1b988c599 100644 --- a/pgpool.spec +++ b/pgpool.spec @@ -1,7 +1,7 @@ Summary: Pgpool is a connection pooling/replication server for PostgreSQL Name: pgpool-II Version: 2.2.5 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Group: Applications/Databases URL: http://pgpool.projects.PostgreSQL.org @@ -72,6 +72,12 @@ rm -rf %{buildroot} /sbin/ldconfig chkconfig --add pgpool +%preun +if [ $1 = 0 ] ; then + /sbin/service pgpool condstop >/dev/null 2>&1 + chkconfig --del pgpool +fi + %postun -p /sbin/ldconfig %files @@ -104,6 +110,10 @@ chkconfig --add pgpool %{_libdir}/libpcp.so %changelog +* Tue Nov 3 2009 Devrim Gunduz <devrim@CommandPrompt.com> 2.2.5-3 +- Remove init script from all runlevels before uninstall. Per #RH Bugzilla + 532177 + * Mon Oct 5 2009 Devrim Gunduz <devrim@CommandPrompt.com> 2.2.5-2 - Add 2 new docs, per Tatsuo. [parent: 810b44217e16]