Hello community, here is the log from the commit of package update-desktop-files for openSUSE:Factory checked in at Tue Apr 13 22:22:07 CEST 2010. -------- --- update-desktop-files/update-desktop-files.changes 2009-11-03 13:20:25.000000000 +0100 +++ /mounts/work_src_done/STABLE/update-desktop-files/update-desktop-files.changes 2010-04-08 15:23:49.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Apr 8 15:21:18 CEST 2010 - mls@suse.de + +- mimetypes.prov: filter bad desktop files, use mimehandler instead + of mimetype + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ update-desktop-files.spec ++++++ --- /var/tmp/diff_new_pack.h4TxIa/_old 2010-04-13 22:21:22.000000000 +0200 +++ /var/tmp/diff_new_pack.h4TxIa/_new 2010-04-13 22:21:22.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package update-desktop-files (Version 11.1) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -20,9 +20,9 @@ Name: update-desktop-files Version: 11.1 -Release: 5 +Release: 6 Summary: A Build Tool to Update Desktop Files -License: GPL v2 or later +License: GPLv2+ Group: Development/Tools/Building BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on ++++++ mimetypes.prov ++++++ --- /var/tmp/diff_new_pack.h4TxIa/_old 2010-04-13 22:21:22.000000000 +0200 +++ /var/tmp/diff_new_pack.h4TxIa/_new 2010-04-13 22:21:22.000000000 +0200 @@ -6,11 +6,13 @@ while read instfile ; do case "$instfile" in *.desktop) - mime=$(sed -re '/^MimeType *= *([a-zA-Z0-9. _/;-]*)/!d' $instfile | cut -d'=' -f2) - IFS=';' - for type in $mime ; do - echo 'mimetype('$type')' - done + if grep '^Type *= *Application' "$instfile" >/dev/null 2>&1 ; then + mime=$(sed -re '/^MimeType *= *([a-zA-Z0-9. _/;-]*)/!d' $instfile | cut -d'=' -f2) + IFS=';' + for type in $mime ; do + echo 'mimehandler('$type')' + done + fi ;; esac done ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org