File project.diff of Package karchive
--- karchive.spec.orig
+++ karchive.spec
@@ -1,7 +1,7 @@
#
# spec file for package karchive
#
-# 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
@@ -41,8 +41,8 @@ BuildRequires: cmake(Qt5Core) >= %{qt5_
BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version}
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(liblzma)
-BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libzstd)
+BuildRequires: pkgconfig(zlib)
%description
KArchive provides classes for easy reading, creation and manipulation of
@@ -89,7 +89,12 @@ GZip format, via a subclass of QIODevice
%find_lang karchive5 --with-man --all-name --with-qt
+%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}
%license LICENSES/*