SPECS: blender.spec - added update-desktop-database calls in %post / %postun

megabajt megabajt at pld-linux.org
Sun Jun 1 00:43:07 CEST 2008


Author: megabajt                     Date: Sat May 31 22:43:07 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added update-desktop-database calls in %post / %postun

---- Files affected:
SPECS:
   blender.spec (1.83 -> 1.84) 

---- Diffs:

================================================================
Index: SPECS/blender.spec
diff -u SPECS/blender.spec:1.83 SPECS/blender.spec:1.84
--- SPECS/blender.spec:1.83	Sat May 31 22:53:27 2008
+++ SPECS/blender.spec	Sun Jun  1 00:43:02 2008
@@ -36,10 +36,12 @@
 BuildRequires:	libvorbis-devel
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	python-devel >= 1:2.3
+BuildRequires:	rpmbuild(macros) >= 1.385
 BuildRequires:	scons
 BuildRequires:	sed >= 4.0
 #BuildRequires:	smpeg-devel
 BuildRequires:	zlib-devel
+Requires(post,postun):	desktop-file-utils
 Requires:	OpenGL
 Requires:	freetype
 Requires:	python-modules
@@ -124,6 +126,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README doc/bf-members.txt doc/python-dev-guide.txt doc/oldbugs.txt doc/interface_API.txt
@@ -141,6 +149,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.84  2008-05-31 22:43:02  megabajt
+- added update-desktop-database calls in %post / %postun
+
 Revision 1.83  2008-05-31 20:53:27  megabajt
 - updated to 2.46 (fixes CVE-2008-1102)
 - build with system ffmpeg
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/blender.spec?r1=1.83&r2=1.84&f=u



More information about the pld-cvs-commit mailing list