File project.diff of Package kitemviews
--- kitemviews.spec.orig
+++ kitemviews.spec
@@ -1,7 +1,7 @@
#
# spec file for package kitemviews
#
-# 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
@@ -27,7 +27,7 @@ Name: kitemviews
Version: 5.116.0
Release: 0
Summary: Set of item views extending the Qt model-view framework
-License: LGPL-2.1-or-later AND GPL-2.0-or-later
+License: GPL-2.0-or-later AND LGPL-2.1-or-later
URL: https://www.kde.org
Source: %{name}-%{version}.tar.xz
%if %{with released}
@@ -80,7 +80,12 @@ hierarchical lists. Development files.
%find_lang kitemviews5 --with-qt --without-mo
+%if 0%{?suse_version}
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
+%else
%ldconfig_scriptlets -n %{lname}
+%endif
%files -n %{lname}-lang -f kitemviews5.lang