File project.diff of Package kdesignerplugin

--- kdesignerplugin.spec.orig
+++ kdesignerplugin.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package kdesignerplugin
 #
-# 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
@@ -74,7 +74,12 @@ from ini-style description files. Develo
 
 %find_lang %{name} --with-qt --with-man --without-mo --all-name
 
+%if 0%{?suse_version}
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%else
 %ldconfig_scriptlets
+%endif
 
 %files lang -f %{name}.lang
 
openSUSE Build Service is sponsored by