rpms/postgresql-pgpool-II/EL-5 postgresql-pgpool-II.spec,1.16,1.17
Devrim GÜNDÜZ
devrim at fedoraproject.org
Sun Nov 1 21:44:46 UTC 2009
Author: devrim
Update of /cvs/extras/rpms/postgresql-pgpool-II/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3275/EL-5
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/EL-5/postgresql-pgpool-II.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- postgresql-pgpool-II.spec 4 Oct 2009 10:39:39 -0000 1.16
+++ postgresql-pgpool-II.spec 1 Nov 2009 21:44:45 -0000 1.17
@@ -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 fedora-extras-commits
mailing list