servers: add libdb-utils to Requires
This commit is contained in:
parent
a0c545d1a7
commit
25e27999de
@ -83,7 +83,7 @@ customized LDAP clients.
|
||||
%package servers
|
||||
Summary: LDAP server
|
||||
License: OpenLDAP
|
||||
Requires: openldap = %{version}-%{release}, openssl
|
||||
Requires: openldap = %{version}-%{release}, libdb-utils, openssl
|
||||
Requires(pre): shadow-utils
|
||||
Requires(post): systemd-units, systemd-sysv, chkconfig
|
||||
Requires(preun): systemd-units
|
||||
@ -548,7 +548,7 @@ exit 0
|
||||
|
||||
# libdb upgrade (setup for %%triggerun)
|
||||
if [ $2 -eq 2 ]; then
|
||||
# we are interested in minor version changes (both versions of db4 are installed at this moment)
|
||||
# we are interested in minor version changes (both versions of libdb are installed at this moment)
|
||||
if [ "$(rpm -q --qf="%%{version}\n" libdb | sed 's/\.[0-9]*$//' | sort -u | wc -l)" != "1" ]; then
|
||||
touch %{_sharedstatedir}/ldap/rpm_upgrade_libdb
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user