Hello community, here is the log from the commit of package gnumeric for openSUSE:Factory checked in at Mon Feb 14 01:28:29 CET 2011. -------- --- GNOME/gnumeric/gnumeric.changes 2010-11-30 10:04:53.000000000 +0100 +++ /mounts/work_src_done/STABLE/gnumeric/gnumeric.changes 2011-02-12 20:25:25.000000000 +0100 @@ -1,0 +2,14 @@ +Sat Feb 12 18:49:15 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 wrong call 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. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnumeric.spec ++++++ --- /var/tmp/diff_new_pack.fMpeM6/_old 2011-02-14 01:28:18.000000000 +0100 +++ /var/tmp/diff_new_pack.fMpeM6/_new 2011-02-14 01:28:18.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package gnumeric (Version 1.10.12) +# spec file for package gnumeric # -# 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 @@ -20,7 +20,7 @@ Name: gnumeric Version: 1.10.12 -Release: 1 +Release: 2 Summary: Spreadsheet Application License: GPLv2+ Url: http://www.gnumeric.org/ @@ -40,7 +40,7 @@ BuildRequires: shared-mime-info BuildRequires: translation-update-upstream BuildRequires: update-desktop-files -Requires: %{name}-lang = %{version} +Recommends: %{name}-lang Recommends: liberation-fonts ghostscript-fonts-std # For perl-func plugin Recommends: perl @@ -133,10 +133,9 @@ # gnumeric.keys contains strange MIME types. Ignore them. DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime || true %suse_update_desktop_file -r -N Gnumeric %{name} Office Spreadsheet GNOME GTK -%find_lang %{name} -%find_lang gnumeric-functions %{name}.lang +%find_lang %{name} %{?no_lang_C} +%find_lang gnumeric-functions %{?no_lang_C} %{name}.lang %find_gconf_schemas -cat %{name}.schemas_list >%{name}.lst find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %fdupes $RPM_BUILD_ROOT @@ -147,9 +146,10 @@ %post /sbin/ldconfig -if test -x usr/bin/update-mime-database ; then - usr/bin/update-mime-database usr/share/mime >/dev/null -fi +%if 0%{?suse_version} > 1130 +%desktop_database_post +%icon_theme_cache_post +%endif %posttrans -f %{name}.schemas_posttrans @@ -157,13 +157,21 @@ %postun /sbin/ldconfig -if test -x usr/bin/update-mime-database ; then - usr/bin/update-mime-database usr/share/mime >/dev/null -fi +%if 0%{?suse_version} > 1130 +%desktop_database_postun +%icon_theme_cache_postun +%endif -%files -f %{name}.lst +%files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README ChangeLog OChangeLog* +%dir %{_datadir}/gnome/ +%dir %{_datadir}/gnome/help/ +%dir %{_datadir}/gnome/help/%{name}/ +%doc %{_datadir}/gnome/help/%{name}/C/ +%dir %{_datadir}/omf/ +%dir %{_datadir}/omf/%{name}/ +%doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/* %{_libdir}/*.so %dir %{_libdir}/gnumeric @@ -185,10 +193,6 @@ %{_mandir}/man?/*.* %files lang -f %{name}.lang -# Temporary workaround to not depend on libgnome: own the directories -%defattr (-, root, root) -%dir %{_datadir}/gnome -%dir %{_datadir}/gnome/help %files devel %defattr(-, root, root) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org