File project.diff of Package kglobalaccel
--- kglobalaccel.spec.orig
+++ kglobalaccel.spec
@@ -1,7 +1,7 @@
#
# spec file for package kglobalaccel
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -120,8 +120,15 @@ does not need focus for them to be activ
%postun -n kglobalaccel5
%{systemd_user_postun plasma-kglobalaccel.service}
+%if 0%{?suse_version}
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
+%post -n libKF5GlobalAccelPrivate5 -p /sbin/ldconfig
+%postun -n libKF5GlobalAccelPrivate5 -p /sbin/ldconfig
+%else
%ldconfig_scriptlets -n %{lname}
%ldconfig_scriptlets -n libKF5GlobalAccelPrivate5
+%endif
%files -n %{lname}-lang -f kglobalaccel5.lang