Add trigger to update-desktop-database desktop
This commit is contained in:
parent
c0212d7ff6
commit
308d8e20c4
@ -1,6 +1,6 @@
|
|||||||
Name: desktop-file-utils
|
Name: desktop-file-utils
|
||||||
Version: 0.27
|
Version: 0.27
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Desktop-file-utils contains utilities for manipulating desktop entries
|
Summary: Desktop-file-utils contains utilities for manipulating desktop entries
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.freedesktop.org/software/desktop-file-utils
|
URL: https://www.freedesktop.org/software/desktop-file-utils
|
||||||
@ -43,6 +43,12 @@ mv $RPM_BUILD_ROOT%{_emacs_sitelispdir}/*.el* $RPM_BUILD_ROOT%{_emacs_sitelispdi
|
|||||||
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.el
|
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.el
|
||||||
touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
|
touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
|
||||||
|
|
||||||
|
%transfiletriggerin -- %{_datadir}/applications
|
||||||
|
update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
%transfiletriggerpostun -- %{_datadir}/applications
|
||||||
|
update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -56,6 +62,9 @@ touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 26 2024 yinhongchang <yinhongchang@kylinsec.com.cn> - 0.27-2
|
||||||
|
- KYOS-B: Add trigger to update-desktop-database desktop
|
||||||
|
|
||||||
* Fri Dec 29 2023 Paul Thomas <paulthomas100199@gmail.com> - 0.27-1
|
* Fri Dec 29 2023 Paul Thomas <paulthomas100199@gmail.com> - 0.27-1
|
||||||
- update to version 0.27
|
- update to version 0.27
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user