SPECS: dia.spec - make use of desktop_update_database_* macros, rel.7

freetz freetz at pld-linux.org
Mon Jun 13 23:21:32 CEST 2005


Author: freetz                       Date: Mon Jun 13 21:21:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make use of desktop_update_database_* macros, rel.7

---- Files affected:
SPECS:
   dia.spec (1.117 -> 1.118) 

---- Diffs:

================================================================
Index: SPECS/dia.spec
diff -u SPECS/dia.spec:1.117 SPECS/dia.spec:1.118
--- SPECS/dia.spec:1.117	Mon Jun 13 23:12:05 2005
+++ SPECS/dia.spec	Mon Jun 13 23:21:27 2005
@@ -12,7 +12,7 @@
 Summary(zh_CN):	ťůÓÚGTK+ľÄÁ÷łĚÍźłĚĐň
 Name:		dia
 Version:	0.94
-Release:	6
+Release:	7
 Epoch:		1
 License:	GPL
 Group:		X11/Applications/Graphics
@@ -131,12 +131,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-umask 022
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%update_desktop_database_post
 
 %postun
-umask 022
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+%update_desktop_database_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -159,6 +157,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.118  2005/06/13 21:21:27  freetz
+- make use of desktop_update_database_* macros, rel.7
+
 Revision 1.117  2005/06/13 21:12:05  freetz
 - removed obsoleted GNOME mime-info stuff
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dia.spec?r1=1.117&r2=1.118&f=u




More information about the pld-cvs-commit mailing list