diff --git a/nautilus.spec b/nautilus.spec index d37920e..c00d3d2 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -135,6 +135,8 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # make sure desktop files validate by ignoring sr@Latn perl -pi -e 's/sr\@Latn/sp/g' $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop +# desktop-file-install can't handle empty OnlyShowIn correctly +perl -pi -e 's/OnlyShowIn=;/OnlyShowIn=GNOME;/' $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop desktop-file-install --vendor gnome --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \