Add Requires for chkconfig, service and useradd (#235582)

This commit is contained in:
Ruben Kerkhof 2007-04-10 21:44:17 +00:00
parent 68ad749894
commit f7a81987d4

View File

@ -1,7 +1,7 @@
Summary: A modern, advanced and high performance authoritative-only nameserver Summary: A modern, advanced and high performance authoritative-only nameserver
Name: pdns Name: pdns
Version: 2.9.20 Version: 2.9.20
Release: 8%{?dist} Release: 9%{?dist}
Group: System Environment/Daemons Group: System Environment/Daemons
License: GPL License: GPL
@ -11,6 +11,9 @@ Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
Patch0: %{name}-fixinit.patch Patch0: %{name}-fixinit.patch
Patch1: %{name}-avoid-version.patch Patch1: %{name}-avoid-version.patch
Requires(post): %{_sbindir}/useradd, /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig
BuildRequires: boost-devel, chrpath BuildRequires: boost-devel, chrpath
Provides: powerdns = %{version}-%{release} Provides: powerdns = %{version}-%{release}
@ -165,6 +168,8 @@ fi
%changelog %changelog
* Thu Apr 10 2007 <ruben@rubenkerkhof.com> 2.9.20-9
- Add Requires for chkconfig, service and useradd (#235582)
* Mon Jan 1 2007 <ruben@rubenkerkhof.com> 2.9.20-8 * Mon Jan 1 2007 <ruben@rubenkerkhof.com> 2.9.20-8
- Add the pdns user and group to the config file - Add the pdns user and group to the config file
- Don't restart pdns on an upgrade - Don't restart pdns on an upgrade