File project.diff of Package kcmutils
--- kcmutils.spec.orig
+++ kcmutils.spec
@@ -1,7 +1,7 @@
#
# spec file for package kcmutils
#
-# 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
@@ -15,7 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-# Internal QML import
+
%global __requires_exclude qmlimport\\(org\\.kde\\.kcmutils\\.private.*\\)
%define lname libKF5KCMUtils5
@@ -82,7 +82,6 @@ for the KCMUtils libraries.
%package devel
Summary: Build environment for kcmutils, a set of classes to work with KCModules
-Requires: libKF5KCMUtilsCore5 = %{version}
Requires: %{lname} = %{version}
Requires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
Requires: cmake(KF5Service) >= %{_kf5_version}
@@ -106,9 +105,15 @@ created with the KConfigWidgets framewor
%find_lang kcmutils5
+%if 0%{?suse_version}
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
+%post -n libKF5KCMUtilsCore5 -p /sbin/ldconfig
+%postun -n libKF5KCMUtilsCore5 -p /sbin/ldconfig
+%else
%ldconfig_scriptlets -n %{lname}
-
%ldconfig_scriptlets -n libKF5KCMUtilsCore5
+%endif
%files -n %{lname}-lang -f kcmutils5.lang