rpms/gkrellm/devel gkrellm.spec,1.21,1.22
Ville Skyttä
scop at fedoraproject.org
Tue Mar 17 21:03:08 UTC 2009
Author: scop
Update of /cvs/pkgs/rpms/gkrellm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24595
Modified Files:
gkrellm.spec
Log Message:
* Tue Mar 17 2009 Ville Skyttä <ville.skytta at iki.fi> - 2.3.2-4
- Sync icon cache update scriptlets with current Fedora guidelines.
Index: gkrellm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gkrellm/devel/gkrellm.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- gkrellm.spec 24 Feb 2009 21:45:02 -0000 1.21
+++ gkrellm.spec 17 Mar 2009 21:02:37 -0000 1.22
@@ -1,6 +1,6 @@
Name: gkrellm
Version: 2.3.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Multiple stacked system monitors in one process
Group: Applications/System
License: GPLv3+
@@ -107,17 +107,16 @@
%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
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%pre daemon
getent group gkrellmd >/dev/null || groupadd -r gkrellmd
@@ -168,6 +167,9 @@
%changelog
+* Tue Mar 17 2009 Ville Skyttä <ville.skytta at iki.fi> - 2.3.2-4
+- Sync icon cache update scriptlets with current Fedora guidelines.
+
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list