[packages/needrestart-session] update desktop db

glen glen at pld-linux.org
Tue Apr 14 22:55:49 CEST 2015


commit 188478abc48a9a3ba2a096514d15e9802da82ca5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 14 23:55:44 2015 +0300

    update desktop db

 needrestart-session.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/needrestart-session.spec b/needrestart-session.spec
index 4e920af..ed02bf2 100644
--- a/needrestart-session.spec
+++ b/needrestart-session.spec
@@ -10,6 +10,7 @@ Source0:	https://github.com/liske/needrestart-session/archive/v%{version}/%{name
 URL:		https://github.com/liske/needrestart-session
 BuildRequires:	rpm-perlprov >= 4.1-13
 Requires:	dbus
+Requires:	desktop-file-utils
 Requires:	grep
 Requires:	needrestart >= 2.0
 Requires:	polkit
@@ -36,6 +37,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README.md ChangeLog
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/needrestart-session.git/commitdiff/188478abc48a9a3ba2a096514d15e9802da82ca5



More information about the pld-cvs-commit mailing list