rpms/kbackup/FC-5 kbackup.spec,1.4,1.5

Alain Portal (dionysos) fedora-extras-commits at redhat.com
Thu Jul 12 07:33:19 UTC 2007


Author: dionysos

Update of /cvs/extras/rpms/kbackup/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30561

Modified Files:
	kbackup.spec 
Log Message:
Test if gtk-update-icon-cache exists before running it.


Index: kbackup.spec
===================================================================
RCS file: /cvs/extras/rpms/kbackup/FC-5/kbackup.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- kbackup.spec	11 Jul 2007 13:46:44 -0000	1.4
+++ kbackup.spec	12 Jul 2007 07:32:46 -0000	1.5
@@ -1,6 +1,6 @@
 Name:		kbackup
 Version:	0.5.1
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Back up your data in a simple, user friendly way
 Summary(fr):	Sauvegarder vos données de manière simple et conviviale
 
@@ -38,7 +38,6 @@
 %patch2 -p0
 
 %build
-%{__rm} -rf po/*.gmo
 
 %configure --disable-rpath
 
@@ -78,12 +77,18 @@
 
 %post
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]
+then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 %postun
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]
+then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 %files -f %{name}.lang
@@ -97,6 +102,9 @@
 %{_datadir}/mimelnk/text/x-kbp.desktop
 
 %changelog
+* Thu Jul 11 2007  Alain Portal <aportal[AT]univ-montp2[DOT]fr> 0.5.1-4
+  - Test if gtk-update-icon-cache exists before running it
+
 * Wed Jul 11 2007  Alain Portal <aportal[AT]univ-montp2[DOT]fr> 0.5.1-3
   - Add BR gettext
 




More information about the scm-commits mailing list