Pre-require bind when installing bind-dyndb-ldap
bind-dyndb-ldap depends on 'named' group that is created at bind package pre-install time. Thus, we need to ensure bind is installed before bind-dyndb-ldap. Resolves: rhbz#1902811
This commit is contained in:
parent
39c29f81e5
commit
0f36ba2830
@ -12,7 +12,7 @@
|
||||
|
||||
Name: bind-dyndb-ldap
|
||||
Version: 11.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: LDAP back-end plug-in for BIND
|
||||
|
||||
License: GPLv2+
|
||||
@ -31,10 +31,12 @@ BuildRequires: automake, autoconf, libtool
|
||||
%if %{with bind_pkcs11}
|
||||
BuildRequires: bind-pkcs11-devel >= %{bind_version}
|
||||
BuildRequires: make
|
||||
Requires: bind-pkcs11 >= %{bind_version}, bind-pkcs11-utils >= %{bind_version}
|
||||
Requires(pre): 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}
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -64,6 +66,8 @@ rm -r %{buildroot}%{_datadir}/doc/%{name}
|
||||
|
||||
|
||||
%post
|
||||
[ -f /etc/named.conf ] || exit 0
|
||||
|
||||
# Transform named.conf if it still has old-style API.
|
||||
PLATFORM=$(uname -m)
|
||||
|
||||
@ -111,6 +115,10 @@ sed -i.bak -e "$SEDSCRIPT" /etc/named.conf
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Mon Nov 23 2020 Alexander Bokovoy <abokovoy@redhat.com> - 11.6-1
|
||||
- Upstream release 11.6
|
||||
- Use reference counting semantics in destructors according to BIND version
|
||||
|
Loading…
Reference in New Issue
Block a user