File project.diff of Package kwayland
--- kwayland.spec.orig
+++ kwayland.spec
@@ -1,7 +1,7 @@
#
# spec file for package kwayland
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,7 @@ Source: %{name}-%{version}.tar.x
Source1: %{name}-%{version}.tar.xz.sig
Source2: frameworks.keyring
%endif
+Source50: kwayland-rpmlintrc
# PATCH-FIX-OPENSUSE
Patch0: kwayland-5.116.0-no-server.patch
BuildRequires: extra-cmake-modules >= %{_kf5_version}
@@ -76,7 +77,12 @@ KWayland provides a Qt-style Client and
%install
%kf5_makeinstall -C build
+%if 0%{?suse_version}
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%else
%ldconfig_scriptlets
+%endif
%files
%license LICENSES/*