[packages/guvcview] update desktop database

atler atler at pld-linux.org
Sat Apr 6 20:22:29 CEST 2024


commit a55582a2da5cb4dca1440a7d5f7bfb3a58859e6b
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Apr 6 19:55:29 2024 +0200

    update desktop database

 guvcview.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/guvcview.spec b/guvcview.spec
index 2e3808f..328fd6e 100644
--- a/guvcview.spec
+++ b/guvcview.spec
@@ -28,6 +28,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	portaudio-devel >= 19
 BuildRequires:	pulseaudio-devel >= 0.9.15
 BuildRequires:	udev-devel
+Requires(post,postun):	desktop-file-utils
 Requires:	ffmpeg-libs >= 3.0
 Requires:	glib2 >= 1:2.10.0
 Requires:	gsl >= 1.15
@@ -96,8 +97,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 -f %{name}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guvcview.git/commitdiff/031608ae037d3d4dd5e5048fd32f438a83f1e53a



More information about the pld-cvs-commit mailing list