File project.diff of Package kdelibs4support

--- kdelibs4support.spec.orig
+++ kdelibs4support.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package kdelibs4support
 #
-# Copyright (c) 2021 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
@@ -39,8 +39,8 @@ BuildRequires:  extra-cmake-modules >= %
 BuildRequires:  fdupes
 BuildRequires:  perl-URI
 BuildRequires:  pkgconfig
-BuildRequires:  cmake(KF5Auth) >= %{_kf5_version}
 BuildRequires:  cmake(KDED) >= %{_kf5_version}
+BuildRequires:  cmake(KF5Auth) >= %{_kf5_version}
 BuildRequires:  cmake(KF5Completion) >= %{_kf5_version}
 BuildRequires:  cmake(KF5Config) >= %{_kf5_version}
 BuildRequires:  cmake(KF5ConfigWidgets) >= %{_kf5_version}
@@ -197,7 +197,12 @@ KDEDIRS environment variable correctly.
 %find_lang %{name} --with-man --all-name
 %{kf5_find_htmldocs}
 
+%if 0%{?suse_version}
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
+%else
 %ldconfig_scriptlets -n %{lname}
+%endif
 
 %files lang -f %{name}.lang
 
openSUSE Build Service is sponsored by