[packages/kf6-kguiaddons] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 14:33:55 CEST 2025
commit b29afef53db1eddb7e0a2bb56fd3e2dad10d30f4
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 13:47:44 2025 +0200
- update_desktop_database
kf6-kguiaddons.spec | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/kf6-kguiaddons.spec b/kf6-kguiaddons.spec
index 342fdcf..786b6f3 100644
--- a/kf6-kguiaddons.spec
+++ b/kf6-kguiaddons.spec
@@ -25,8 +25,8 @@ BuildRequires: cmake >= 3.16
BuildRequires: kf6-extra-cmake-modules >= %{version}
BuildRequires: libxcb-devel
BuildRequires: ninja
-BuildRequires: plasma-wayland-protocols-devel >= 1.15.0
BuildRequires: pkgconfig
+BuildRequires: plasma-wayland-protocols-devel >= 1.15.0
BuildRequires: qt6-linguist >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
@@ -34,6 +34,7 @@ BuildRequires: wayland-devel >= 1.9
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-proto-kbproto-devel
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Requires: Qt6Core >= %{qtver}
Requires: Qt6DBus >= %{qtver}
Requires: Qt6Gui >= %{qtver}
@@ -91,8 +92,13 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%update_desktop_database_post
+
+%postun
+/sbin/ldconfig
+%update_desktop_database_postun
%files
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf6-kguiaddons.git/commitdiff/b29afef53db1eddb7e0a2bb56fd3e2dad10d30f4
More information about the pld-cvs-commit
mailing list