diff --git a/bind.spec b/bind.spec index bd41a14..b5b8f0f 100644 --- a/bind.spec +++ b/bind.spec @@ -924,6 +924,12 @@ fi %ldconfig_scriptlets pkcs11-libs %endif +%if %{with_export_libs} +%post export-libs -p /sbin/ldconfig + +%postun export-libs -p /sbin/ldconfig +%endif + %post chroot %systemd_post named-chroot.service if [ "$1" -gt 0 ]; then