[packages/qvv] update desktop database

atler atler at pld-linux.org
Sat Jul 22 17:18:01 CEST 2023


commit 07bd3b7c5da9a5deb5ccd77777eaae57185748c7
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jul 22 16:40:34 2023 +0200

    update desktop database

 qvv.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/qvv.spec b/qvv.spec
index 51f9f36..03dc106 100644
--- a/qvv.spec
+++ b/qvv.spec
@@ -15,6 +15,7 @@ BuildRequires:	Qt5Widgets-devel
 BuildRequires:	qt5-build
 BuildRequires:	qt5-qmake
 BuildRequires:	rpmbuild(macros) >= 2.016
+Requires(post,postun):	desktop-file-utils
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -64,6 +65,12 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
 %files
 %defattr(644,root,root,755)
 %doc ANFSCD HISTORY README
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qvv.git/commitdiff/07bd3b7c5da9a5deb5ccd77777eaae57185748c7



More information about the pld-cvs-commit mailing list