rpms/control-center/devel control-center.spec,1.256,1.257

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Tue May 22 09:30:36 UTC 2007


Author: hadess

Update of /cvs/pkgs/rpms/control-center/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32672

Modified Files:
	control-center.spec 
Log Message:
* Tue May 22 2007 - Bastien Nocera <bnocera at redhat.com> - 2.19.1-4
- Add a hack to avoid desktop-file-install complaining about missing
  desktop name in OnlyShownIn



Index: control-center.spec
===================================================================
RCS file: /cvs/pkgs/rpms/control-center/devel/control-center.spec,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -r1.256 -r1.257
--- control-center.spec	22 May 2007 08:51:07 -0000	1.256
+++ control-center.spec	22 May 2007 09:30:01 -0000	1.257
@@ -21,7 +21,7 @@
 Summary: GNOME Control Center
 Name: control-center
 Version: 2.19.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch: 1
 License: GPL/LGPL
 Group: User Interface/Desktops
@@ -203,6 +203,10 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
+# Add a "valid" OnlyShowIn entry, otherwise desktop-file-install complains
+sed -i -e "s/OnlyShowIn=;/OnlyShowIn=GNOME;/"  \
+  $RPM_BUILD_ROOT%{_datadir}/applications/gnome-theme-installer.desktop
+
 desktop-file-install --vendor gnome --delete-original			\
   --dir $RPM_BUILD_ROOT%{_datadir}/applications				\
   --add-only-show-in GNOME						\
@@ -328,6 +332,10 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Tue May 22 2007 - Bastien Nocera <bnocera at redhat.com> - 2.19.1-4
+- Add a hack to avoid desktop-file-install complaining about missing
+  desktop name in OnlyShownIn
+
 * Mon May 21 2007 - Bastien Nocera <bnocera at redhat.com> - 2.19.1-3
 - Remove the compiz support patch, compiz should ship it's keybindings XML
   file itself




More information about the fedora-extras-commits mailing list