From 4b73011f0ae0d34b6e53b1677e3a09634610cdb4 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 3 Sep 2016 18:24:02 +0200 Subject: [PATCH] Use upstream defaults for OnlyShowIn Drop the desktop-file-edit call that changed OnlyShowIn and rely on upstream having the correct defaults. --- nautilus.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/nautilus.spec b/nautilus.spec index 2cb4497..fe36203 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -85,11 +85,6 @@ make %{?_smp_mflags} V=1 %install %make_install -desktop-file-install --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - --add-only-show-in GNOME \ - $RPM_BUILD_ROOT%{_datadir}/applications/* - rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la @@ -107,10 +102,9 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome. %find_lang %name - %check appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome.Nautilus.appdata.xml - +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop %postun if [ $1 -eq 0 ]; then @@ -162,6 +156,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : * Sat Sep 03 2016 Kalev Lember - 3.21.91.1-1 - Update to 3.21.91.1 - Filter private libgd from provides and requires +- Use upstream defaults for OnlyShowIn * Tue Aug 30 2016 Kalev Lember - 3.20.3-1 - Update to 3.20.3