Hello community, here is the log from the commit of package comix for openSUSE:Factory checked in at Mon Feb 14 01:35:07 CET 2011. -------- --- GNOME/comix/comix.changes 2011-02-11 11:16:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/comix/comix.changes 2011-02-12 20:23:47.000000000 +0100 @@ -1,0 +2,16 @@ +Sat Feb 12 17:03:42 CET 2011 - vuntz@opensuse.org + +- Call relevant macros in %post/%postun: + + %desktop_database_post/postun because the package ships at + least one desktop file. + + %icon_theme_cache_post/postun because the package ships themed + icons. +- Remove unneeded calls to update-mime-database in %post/%postun. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. +- Change Requires of lang subpackage to Recommends, since the + english documentation is not there anymore. +- Remove shared-mime-info PreReq: if it's not there, then we simply + don't need to update the mime database. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ comix.spec ++++++ --- /var/tmp/diff_new_pack.iF6g1I/_old 2011-02-14 01:35:02.000000000 +0100 +++ /var/tmp/diff_new_pack.iF6g1I/_new 2011-02-14 01:35:02.000000000 +0100 @@ -21,7 +21,7 @@ Name: comix Summary: Comix - GTK Comic Book Viewer Version: 4.0.4 -Release: 4 +Release: 5 BuildArch: noarch License: GPLv2+ Url: http://comix.sourceforge.net @@ -32,11 +32,10 @@ BuildRequires: python-gtk BuildRequires: python-imaging BuildRequires: update-desktop-files -PreReq: shared-mime-info Requires: python-gtk Requires: python-imaging +Recommends: %{name}-lang Recommends: unrar -Requires: %{name}-lang = %{version} %py_requires %description @@ -58,17 +57,21 @@ python install.py install --dir %{buildroot}%{_prefix} --no-mime %suse_update_desktop_file %{name} %fdupes %{buildroot}%{_datadir} -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} + +%if 0%{?suse_version} > 1130 %post -if test -x usr/bin/update-mime-database ; then - usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null -fi +%desktop_database_post +%icon_theme_cache_post +%endif + +%if 0%{?suse_version} > 1130 %postun -if test -x usr/bin/update-mime-database ; then - usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null -fi +%desktop_database_postun +%icon_theme_cache_postun +%endif %clean rm -rf %{buildroot} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org