Validate .desktop files.

This commit is contained in:
Peter Oliver 2021-06-05 14:24:21 +01:00
parent f8859c95d0
commit e6597871cb

View File

@ -393,6 +393,9 @@ cat el-*-files common-lisp-dir-files > el-filelist
# Remove old icon
rm %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/emacs-document23.svg
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
%preun
%{_sbindir}/alternatives --remove emacs %{_bindir}/emacs-%{version}