From f08cb7ec48943d54c4758b3afeb03213487b437f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 10 Feb 2018 18:44:53 +0100 Subject: [PATCH] don't call ldconfig in servers subacpakge servers subpkg installs everything into private libdir, so no need to call ldconfig (since there is no ld.so.conf for it). Signed-off-by: Igor Gnatenko --- openldap.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/openldap.spec b/openldap.spec index abf3ee4..9f518a4 100644 --- a/openldap.spec +++ b/openldap.spec @@ -349,8 +349,6 @@ exit 0 %post servers - -/sbin/ldconfig %systemd_post slapd.service # generate configuration if necessary @@ -389,16 +387,11 @@ fi exit 0 %preun servers - %systemd_preun slapd.service - %postun servers - -/sbin/ldconfig %systemd_postun_with_restart slapd.service - %triggerin servers -- libdb # libdb upgrade (setup for %%triggerun)