Hello community,

here is the log from the commit of package gle-graphics for openSUSE:13.1 
checked in at 2013-10-02 14:49:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1/gle-graphics (Old)
 and      /work/SRC/openSUSE:13.1/.gle-graphics.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gle-graphics"

Changes:
--------
--- /work/SRC/openSUSE:13.1/gle-graphics/gle-graphics.changes   2013-09-23 
10:52:09.000000000 +0200
+++ /work/SRC/openSUSE:13.1/.gle-graphics.new/gle-graphics.changes      
2013-10-02 14:49:04.000000000 +0200
@@ -1,0 +2,14 @@
+Tue Oct  1 16:18:48 UTC 2013 - dims...@opensuse.org
+
+- Be precise with the mime configuration:
+  + Add shared-mime-info BuildRequires
+  + Only own the mime specifying xml file, not the directory
+    structure.
+  + Replace 'manual' /usr/bin/update-mime-database calls with
+    %mime_database_post/postun scrtiptlets provided by
+    shared-mime-info.
+  + Move the mime_database_post/postun to the qgle subpackage,
+    which is in fact the package installing the mime handlers and
+    the mime definition.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gle-graphics.spec ++++++
--- /var/tmp/diff_new_pack.aL2zsk/_old  2013-10-02 14:49:04.000000000 +0200
+++ /var/tmp/diff_new_pack.aL2zsk/_new  2013-10-02 14:49:04.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gle-graphics
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -49,6 +49,7 @@
 BuildRequires:  libtiff-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl
+BuildRequires:  shared-mime-info
 BuildRequires:  texlive-latex
 BuildRequires:  pkgconfig(glu)
 %if %suse_version > 1220
@@ -190,15 +191,11 @@
 %suse_update_desktop_file -i qgle
 %endif
 
-%post
-if [ -f /usr/bin/update-mime-database ]; then
-  /usr/bin/update-mime-database /usr/share/mime > /dev/null
-fi
-
-%postun
-if [ -f /usr/bin/update-mime-database ]; then
-  /usr/bin/update-mime-database /usr/share/mime > /dev/null
-fi
+%post -n qgle
+%mime_database_post
+
+%postun -n qgle
+%mime_database_postun
 
 %files
 %defattr(-,root,root,0755)
@@ -227,7 +224,7 @@
 %{_bindir}/qgle
 %{_datadir}/applications/*
 %{_datadir}/pixmaps/qgle.png
-%{_datadir}/mime/application
+%{_datadir}/mime/application/%{name}.xml
 
 %files doc
 %defattr(-,root,root,0755)


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

Reply via email to