rpms/kreetingkard/devel kreetingkard.spec,1.2,1.3

Mamoru Tasaka mtasaka at fedoraproject.org
Mon Feb 23 22:37:24 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/kreetingkard/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4465/kreetingkard/devel

Modified Files:
	kreetingkard.spec 
Log Message:
Mass rebuild + etc


Index: kreetingkard.spec
===================================================================
RCS file: /cvs/extras/rpms/kreetingkard/devel/kreetingkard.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- kreetingkard.spec	9 Feb 2008 04:21:20 -0000	1.2
+++ kreetingkard.spec	23 Feb 2009 22:36:53 -0000	1.3
@@ -1,12 +1,12 @@
 %define		mainver		0.7.1
-%define		vendorrel	2
+%define		vendorrel	3
 %define		repoid		18105
 
 
 
 Name:		kreetingkard
 Version:	%{mainver}
-Release:	%{vendorrel}%{?dist}.2
+Release:	%{vendorrel}%{?dist}
 Summary:	Japanese greeting card writing software for KDE
 
 Group:		Applications/Productivity
@@ -84,18 +84,23 @@
 
 %post
 touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
 update-desktop-database &> /dev/null
 exit 0
 
 %postun
+update-desktop-database &> /dev/null
+[ $1 -eq 0 ] || exit 0
+
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
 	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
 fi
-update-desktop-database &> /dev/null
+exit 0
+
+%posttrans
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 exit 0
 
 %files -f %{name}.lang
@@ -116,6 +121,9 @@
 %{_defaultdocdir}/HTML/en/%{name}/
 
 %changelog
+* Tue Feb 24 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.7.1-3
+- GTK icon cache updating script update
+
 * Sat Feb  9 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>
 - Rebuild against gcc43
 




More information about the scm-commits mailing list