diff --git a/kf5-khtml.spec b/kf5-khtml.spec
index 376ba48..ef8131a 100644
--- a/kf5-khtml.spec
+++ b/kf5-khtml.spec
@@ -87,8 +87,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang khtml5_qt --with-qt --all-name
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files -f khtml5_qt.lang
%doc README.md