File project.diff of Package kdeclarative

--- kdeclarative.spec.orig
+++ kdeclarative.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package kdeclarative
 #
-# 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
@@ -124,9 +124,18 @@ Development files.
 
 %find_lang kdeclarative5
 
+%if 0%{?suse_version}
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
+%post -n libKF5QuickAddons5 -p /sbin/ldconfig
+%postun -n libKF5QuickAddons5 -p /sbin/ldconfig
+%post -n libKF5CalendarEvents5 -p /sbin/ldconfig
+%postun -n libKF5CalendarEvents5 -p /sbin/ldconfig
+%else
 %ldconfig_scriptlets -n %{lname}
 %ldconfig_scriptlets -n libKF5QuickAddons5
 %ldconfig_scriptlets -n libKF5CalendarEvents5
+%endif
 
 %files -n %{lname}-lang -f kdeclarative5.lang
 
openSUSE Build Service is sponsored by