SPECS: system-config-date.spec - update icon cache
patrys
patrys at pld-linux.org
Tue Dec 18 13:39:26 CET 2007
Author: patrys Date: Tue Dec 18 12:39:26 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update icon cache
---- Files affected:
SPECS:
system-config-date.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/system-config-date.spec
diff -u SPECS/system-config-date.spec:1.5 SPECS/system-config-date.spec:1.6
--- SPECS/system-config-date.spec:1.5 Tue Dec 18 13:37:27 2007
+++ SPECS/system-config-date.spec Tue Dec 18 13:39:20 2007
@@ -23,6 +23,7 @@
Requires: python-gnome-canvas
Requires: python-rhpl
#Requires: usermode >= 1.36
+Requires(post,postun): desktop-file-utils
Conflicts: firstboot <= 1.3.26
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -64,19 +65,11 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%if 0
%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
+%update_icon_cache hicolor
%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
-%endif
+%update_icon_cache hicolor
%files -f %{name}.lang
%defattr(644,root,root,755)
@@ -111,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2007-12-18 12:39:20 patrys
+- update icon cache
+
Revision 1.5 2007-12-18 12:37:27 patrys
- 1.9.17
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/system-config-date.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list