add desktop-file-validate command

This commit is contained in:
raveit 2013-06-28 11:14:52 +02:00
parent 03931809cd
commit a22dc0d45c

View File

@ -21,6 +21,7 @@ BuildRequires: mate-doc-utils
BuildRequires: mate-desktop-devel
BuildRequires: mate-polkit-devel
BuildRequires: nss-devel
BuildRequires: desktop-file-utils
%description
This package contains the daemon which is responsible for setting the
@ -60,6 +61,8 @@ find %{buildroot} -name '*.a' -exec rm -rf {} ';'
# remove needless gsettings convert file to avoid slow session start
rm -f %{buildroot}%{_datadir}/MateConf/gsettings/mate-settings-daemon.convert
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop
%find_lang %{name}