summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Hozza <thozza@redhat.com>2016-03-21 12:38:15 +0100
committerTomas Hozza <thozza@redhat.com>2016-03-21 12:38:15 +0100
commit8ac7bef51e5c1c020211c27768aee025b3275114 (patch)
tree052732204a40016f2192c25a3ddda80b0717112a
parent83466f11b90dce486010389878a3e3669811147d (diff)
downloadbind-8ac7bef51e5c1c020211c27768aee025b3275114.tar.gz
bind-8ac7bef51e5c1c020211c27768aee025b3275114.tar.xz
bind-8ac7bef51e5c1c020211c27768aee025b3275114.zip
Cleanup dependencies to reflect reality
Signed-off-by: Tomas Hozza <thozza@redhat.com>
-rw-r--r--bind.spec11
1 files changed, 5 insertions, 6 deletions
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 <kas@fi.muni.cz>
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