Remove init script from all runlevels before uninstall. Per RH Bugzilla
#532177
This commit is contained in:
parent
2e172ef232
commit
653ff73322
1 changed files with 11 additions and 1 deletions
|
|
@ -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@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@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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue