File project.diff of Package kactivities5
--- kactivities5.spec.orig
+++ kactivities5.spec
@@ -1,7 +1,7 @@
#
# spec file for package kactivities5
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -95,7 +95,12 @@ Development files.
%kf5_makeinstall -C build
%fdupes %{buildroot}
+%if 0%{?suse_version}
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
+%else
%ldconfig_scriptlets -n %{lname}
+%endif
%files tools
%{_bindir}/kactivities-cli