Both require bind and require it for pre-install script

Resolves: rhbz#1902811
This commit is contained in:
Alexander Bokovoy 2020-12-17 16:13:34 +02:00
parent 0f36ba2830
commit 0614e620de

View File

@ -12,7 +12,7 @@
Name: bind-dyndb-ldap
Version: 11.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: LDAP back-end plug-in for BIND
License: GPLv2+
@ -32,11 +32,13 @@ BuildRequires: automake, autoconf, libtool
BuildRequires: bind-pkcs11-devel >= %{bind_version}
BuildRequires: make
Requires(pre): bind-pkcs11 >= %{bind_version}
Requires: bind-pkcs11 >= %{bind_version}
Requires: bind-pkcs11-utils >= %{bind_version}
%else
Requires: softhsm >= %{softhsm_version}
Requires: openssl-pkcs11 >= %{openssl_pkcs11_version}
Requires(pre): bind >= %{bind_version}
Requires: bind >= %{bind_version}
%endif
%description
@ -115,6 +117,10 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf
%changelog
* Thu Dec 17 2020 Alexander Bokovoy <abokovoy@redhat.com> - 11.6-3
- Both require bind and require it for pre-install script
- Resolves: rhbz#1902811
* Thu Dec 17 2020 Alexander Bokovoy <abokovoy@redhat.com> - 11.6-2
- Fix requires to bind: require bind installed before bind-dyndb-ldap
as we depend on named group