[packages/pavucontrol] update desktop database
atler
atler at pld-linux.org
Fri Jul 28 03:39:00 CEST 2023
commit 5cc96f04c8ced3a30e6b25810270ed887c309d55
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jul 28 01:45:35 2023 +0200
update desktop database
pavucontrol.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/pavucontrol.spec b/pavucontrol.spec
index a9801fc..f1880f4 100644
--- a/pavucontrol.spec
+++ b/pavucontrol.spec
@@ -20,6 +20,7 @@ BuildRequires: pkgconfig
BuildRequires: pulseaudio-devel >= 5.0
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+Requires(post,postun): desktop-file-utils
Requires: gtkmm3 >= 3.22
Requires: libcanberra-gtk3 >= 0.16
Requires: pulseaudio-libs >= 5.0
@@ -66,6 +67,12 @@ mv $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pavucontrol.git/commitdiff/aa55e289adc742979788ff6731042004561c201c
More information about the pld-cvs-commit
mailing list