[openldap] servers: add libdb-utils to Requires

jvcelak jvcelak at fedoraproject.org
Tue Nov 1 14:40:26 UTC 2011


commit 25e27999de4fca350bb198f90559229992e5abd7
Author: Jan Vcelak <jvcelak at redhat.com>
Date:   Thu Oct 27 14:21:13 2011 +0200

    servers: add libdb-utils to Requires

 openldap.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
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


More information about the scm-commits mailing list