From 85f7f68845959a0e448d65b0d2d611f4af2eb508 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 5 Jun 2007 06:07:50 +0000 Subject: [PATCH] Fix spec --- nautilus.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nautilus.spec b/nautilus.spec index c00d3d2..53f383c 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -136,13 +136,15 @@ 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 +perl -pi -e 's/OnlyShowIn=;/OnlyShowIn=GNOME;/' $RPM_BUILD_ROOT%{_datadir}/applications/nautilus-folder-default-handler.desktop desktop-file-install --vendor gnome --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-only-show-in GNOME \ $RPM_BUILD_ROOT%{_datadir}/applications/* +perl -pi -e 's/OnlyShowIn=GNOME;/OnlyShowIn=;/' $RPM_BUILD_ROOT%{_datadir}/applications/nautilus-folder-default-handler.desktop + rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la