File project.diff of Package kpackage

--- kpackage.spec.orig
+++ kpackage.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package kpackage
 #
-# 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
@@ -71,7 +71,12 @@ Development files.
 
 %find_lang %{name} --with-man --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