SPECS: vim.spec - use %update_icon_cache macro

megabajt megabajt at pld-linux.org
Wed Oct 11 14:02:23 CEST 2006


Author: megabajt                     Date: Wed Oct 11 12:02:23 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %update_icon_cache macro

---- Files affected:
SPECS:
   vim.spec (1.377 -> 1.378) 

---- Diffs:

================================================================
Index: SPECS/vim.spec
diff -u SPECS/vim.spec:1.377 SPECS/vim.spec:1.378
--- SPECS/vim.spec:1.377	Wed Oct  4 01:45:04 2006
+++ SPECS/vim.spec	Wed Oct 11 14:02:18 2006
@@ -183,7 +183,7 @@
 BuildRequires:	libgnomeui-devel >= 2.2.0.1
 BuildRequires:	nautilus-devel >= 2.2.0
 %endif
-BuildRequires:	rpmbuild(macros) >= 1.210
+BuildRequires:	rpmbuild(macros) >= 1.311
 %if %{with static}
 BuildRequires:	acl-static
 BuildRequires:	attr-static
@@ -1025,19 +1025,19 @@
 
 %post -n gvim-gtk
 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %postun -n gvim-gtk
 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %post -n gvim-gnome
 %update_desktop_database_post
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %postun -n gvim-gnome
 %update_desktop_database_postun
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %files
 %defattr(644,root,root,755)
@@ -1293,6 +1293,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.378  2006/10/11 12:02:18  megabajt
+- use %update_icon_cache macro
+
 Revision 1.377  2006/10/03 23:45:04  qboosh
 - added evim,eview,vimdiff,gvimdiff symlinks
 - more man packaging fixes
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vim.spec?r1=1.377&r2=1.378&f=u



More information about the pld-cvs-commit mailing list