From 42256fcb75625c4fc1bb885bffcf32697a4ee3ff Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 11 Jun 2013 00:07:00 +0200 Subject: [PATCH] Use desktop-file-validate instead of desktop-file-install --- gnome-terminal.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gnome-terminal.spec b/gnome-terminal.spec index 74e905d..7da496b 100644 --- a/gnome-terminal.spec +++ b/gnome-terminal.spec @@ -47,14 +47,11 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT -desktop-file-install --vendor gnome --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - --remove-category=Application \ - --add-category=System \ - $RPM_BUILD_ROOT%{_datadir}/applications/gnome-terminal.desktop - %find_lang %{gettext_package} --with-gnome +%check +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-terminal.desktop + %postun if [ $1 -eq 0 ] ; then /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : @@ -76,6 +73,7 @@ fi %changelog * Mon Jun 10 2013 Kalev Lember - 3.8.3-1 - Update to 3.8.3 +- Use desktop-file-validate instead of desktop-file-install * Mon May 13 2013 Richard Hughes - 3.8.2-1 - Update to 3.8.2