From 25e27999de4fca350bb198f90559229992e5abd7 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Nov 01 2011 12:34:30 +0000 Subject: servers: add libdb-utils to Requires --- diff --git a/openldap.spec b/openldap.spec index e6f4c84..295c5c2 100644 --- a/openldap.spec +++ b/openldap.spec @@ -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