Don't remove NoDisplay key from desktop file

The key has been already removed.

https://bugzilla.gnome.org/show_bug.cgi?id=634245
This commit is contained in:
Marek Kasik 2013-03-26 18:07:33 +01:00
parent 4905350ceb
commit ea08babd41

View File

@ -6,7 +6,7 @@
Name: evince
Version: 3.8.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
@ -122,10 +122,8 @@ make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool
%install
make install DESTDIR=$RPM_BUILD_ROOT
# https://bugzilla.gnome.org/show_bug.cgi?id=634245
desktop-file-install --delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
--remove-key=NoDisplay \
$RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop
%find_lang evince --with-gnome
@ -218,6 +216,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||:
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%changelog
* Tue Mar 26 2013 Marek Kasik <mkasik@redhat.com> - 3.8.0-2
- Don't remove the NoDisplay key from evince.desktop because
- it has been already removed
- Related: gnome#634245
* Tue Mar 26 2013 Marek Kasik <mkasik@redhat.com> - 3.8.0-1
- Update to 3.8.0