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