[evince] Update the desktop-file-install invocation

Kalev Lember kalev at fedoraproject.org
Thu Mar 21 18:36:14 UTC 2013


commit 7386fefe6d69f56aa8c116b152921e63cdc22ced
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Thu Mar 21 19:01:54 2013 +0100

    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 files 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
 


More information about the scm-commits mailing list