Hello community,

here is the log from the commit of package mtpaint for openSUSE:Factory
checked in at Mon May 2 17:55:22 CEST 2011.



--------
--- mtpaint/mtpaint.changes     2010-04-05 10:08:54.000000000 +0200
+++ mtpaint/mtpaint.changes     2011-03-14 22:18:23.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Mar 14 21:11:41 UTC 2011 - g...@opensuse.org
+
+- removed obsolete existing %post/%postun
+
+-------------------------------------------------------------------
+Mon Mar 14 18:51:42 UTC 2011 - g...@opensuse.org
+
+- call %desktop_database_post/un
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mtpaint.spec ++++++
--- /var/tmp/diff_new_pack.785cur/_old  2011-05-02 17:54:35.000000000 +0200
+++ /var/tmp/diff_new_pack.785cur/_new  2011-05-02 17:54:35.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package mtpaint (Version 3.31)
+# spec file for package mtpaint
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 
 Name:           mtpaint
 Version:        3.31
-Release:        3
+Release:        11
 License:        GPLv3
 Group:          Productivity/Graphics/Bitmap Editors
 Url:            http://mtpaint.sourceforge.net/
@@ -92,28 +92,17 @@
 
 %find_lang %{name}
 
+%clean
+%__rm -rf %buildroot
+
+%if 0%{?suse_version} >= 1140
+
 %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
-if [ -x %{_bindir}/update-desktop-database ] ; then
-  %{_bindir}/update-desktop-database &> /dev/null
-fi
-exit 0
+%desktop_database_post
 
 %postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
-  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
-if [ -x %{_bindir}/update-desktop-database ] ; then
-  %{_bindir}/update-desktop-database &> /dev/null
-fi
-exit 0
-
-%clean
-%__rm -rf %buildroot
+%desktop_database_postun
+%endif
 
 %files -f %{name}.lang
 %defattr(-, root, root, -)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to