From 8ac7bef51e5c1c020211c27768aee025b3275114 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mar 21 2016 11:38:15 +0000 Subject: Cleanup dependencies to reflect reality Signed-off-by: Tomas Hozza --- diff --git a/bind.spec b/bind.spec index 7aeac4b..02d9168 100644 --- a/bind.spec +++ b/bind.spec @@ -91,11 +91,10 @@ Patch104: bind-9.10-dyndb.patch Patch73: bind-99-libidn.patch +Requires(post): systemd Requires(preun): systemd Requires(postun): systemd Requires: coreutils -Requires: systemd -Requires(post): grep, systemd Requires(pre): shadow-utils Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} Obsoletes: bind-config < 30:9.3.2-34.fc6 @@ -263,9 +262,8 @@ files and libraries required for development with ISC BIND 9 Summary: A chroot runtime environment for the ISC BIND DNS server, named(8) Group: System Environment/Daemons Prefix: %{chroot_prefix} -Requires(post): grep -Requires(preun):grep -Requires: systemd +# grep is required due to setup-named-chroot.sh script +Requires: grep Requires: bind%{?_isa} = %{epoch}:%{version}-%{release} %description chroot @@ -278,8 +276,9 @@ Based on the code from Jan "Yenya" Kasprzak Summary: A chroot runtime environment for the ISC BIND DNS server, named-sdb(8) Group: System Environment/Daemons Prefix: %{chroot_sdb_prefix} +# grep is required due to setup-named-chroot.sh script +Requires: grep Requires: bind-sdb%{?_isa} = %{epoch}:%{version}-%{release} -Requires: systemd %description sdb-chroot This package contains a tree of files which can be used as a