rpms/kile/FC-4 kile.spec,1.13,1.14

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Fri Oct 14 17:18:05 UTC 2005


Author: rdieter

Update of /cvs/extras/rpms/kile/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17901/FC-4

Modified Files:
	kile.spec 
Log Message:
* Fri Oct 14 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
- touchup %post/%postun icon handling to match icon spec
- absolute->relative symlinks



Index: kile.spec
===================================================================
RCS file: /cvs/extras/rpms/kile/FC-4/kile.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- kile.spec	11 Oct 2005 13:09:12 -0000	1.13
+++ kile.spec	14 Oct 2005 17:18:03 -0000	1.14
@@ -104,16 +104,14 @@
 
 %post
 touch %{_datadir}/icons/hicolor ||:
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
-fi
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
 
 %postun
-if [ $1 -eq 0 ]; then
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
-fi
-fi
+# skipping the if, in case the icon dir ever changes on upgrade
+#if [ $1 -eq 0 ]; then
+touch %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+#fi
 
 
 %files -f %{name}.lang
@@ -133,7 +131,8 @@
 
 
 %changelog
-* Tue Oct 11 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
+* Fri Oct 14 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
+- touchup %%post/%%postun icon handling to match icon spec
 - absolute->relative symlinks
 
 * Tue Oct 11 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-4




More information about the fedora-extras-commits mailing list