rpms/gcalctool/devel gcalctool.spec,1.47,1.48

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Sep 4 15:56:58 UTC 2007


Author: mclasen

Update of /cvs/extras/rpms/gcalctool/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25815

Modified Files:
	gcalctool.spec 
Log Message:
fix desktop file handling



Index: gcalctool.spec
===================================================================
RCS file: /cvs/extras/rpms/gcalctool/devel/gcalctool.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- gcalctool.spec	4 Sep 2007 04:26:59 -0000	1.47
+++ gcalctool.spec	4 Sep 2007 15:56:25 -0000	1.48
@@ -52,10 +52,10 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
-sed -i -e "s/OnlyShowIn=GNOME;//" $RPM_BUILD_ROOT%{_datadir}/applications/*
-
-desktop-file-install --vendor gnome --delete-original       \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
+desktop-file-install --vendor gnome --delete-original	\
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications		\
+  --remove-only-show-in GNOME				\
+  --remove-only-show-in XFCE				\
   $RPM_BUILD_ROOT%{_datadir}/applications/*
 
 # delete this crap




More information about the fedora-extras-commits mailing list