Validate .desktop files.
This commit is contained in:
parent
f8859c95d0
commit
e6597871cb
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user