From 7386fefe6d69f56aa8c116b152921e63cdc22ced Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 21 Mar 2013 19:01:54 +0100 Subject: [PATCH] Update the desktop-file-install invocation Remove a category edit command that's no longer needed and add a bugzilla link explaining why we need to use desktop-file-install over desktop-file-validate here. --- evince.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evince.spec b/evince.spec index b085aa0..d023f44 100644 --- a/evince.spec +++ b/evince.spec @@ -125,9 +125,9 @@ make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool %install make install DESTDIR=$RPM_BUILD_ROOT -desktop-file-install --delete-original --vendor="" \ +# https://bugzilla.gnome.org/show_bug.cgi?id=634245 +desktop-file-install --delete-original \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ - --remove-category=Application \ --remove-key=NoDisplay \ $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop