rpms/postgresql-pgpool-II/devel postgresql-pgpool-II.spec, 1.36, 1.37
Devrim GÜNDÜZ
devrim at fedoraproject.org
Sun Nov 1 21:44:49 UTC 2009
Author: devrim
Update of /cvs/extras/rpms/postgresql-pgpool-II/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3275/devel
Modified Files:
postgresql-pgpool-II.spec
Log Message:
Remove init script from all runlevels before uninstall. Per RH Bugzilla #532177
Index: postgresql-pgpool-II.spec
===================================================================
RCS file: /cvs/extras/rpms/postgresql-pgpool-II/devel/postgresql-pgpool-II.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- postgresql-pgpool-II.spec 4 Oct 2009 10:39:40 -0000 1.36
+++ postgresql-pgpool-II.spec 1 Nov 2009 21:44:47 -0000 1.37
@@ -3,7 +3,7 @@
Summary: Pgpool is a connection pooling/replication server for PostgreSQL
Name: postgresql-%{short_name}
Version: 2.2.5
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
Group: Applications/Databases
URL: http://pgpool.projects.PostgreSQL.org
@@ -74,6 +74,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
@@ -106,6 +112,10 @@ chkconfig --add pgpool
%{_libdir}/libpcp.so
%changelog
+* Sun Nov 01 2009 Devrim GUNDUZ <devrim at gunduz.org> - 2.2.5-2
+- Remove init script from all runlevels before uninstall. Per RH Bugzilla
+ #532177
+
* Sun Oct 4 2009 Devrim Gunduz <devrim at CommandPrompt.com> 2.2.5-1
- Update to 2.2.5, for various fixes described at
http://lists.pgfoundry.org/pipermail/pgpool-general/2009-October/002188.html
More information about the scm-commits
mailing list