diff --git a/rygel.changes b/rygel.changes index d46f786..4330403 100644 --- a/rygel.changes +++ b/rygel.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Feb 13 17:02:39 CET 2011 - vuntz@opensuse.org + +- Call relevant macros in %post/%postun: + + %desktop_database_post/postun because the package ships at + least one desktop file. +- Drop %mime_database_post/postun calls in %post/%postun: there is + no mime type definition in the package. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. + ------------------------------------------------------------------- Tue Dec 14 15:19:51 CET 2010 - vuntz@opensuse.org diff --git a/rygel.spec b/rygel.spec index 43e4d9b..6318d3a 100644 --- a/rygel.spec +++ b/rygel.spec @@ -124,22 +124,18 @@ find %{buildroot} -type f -name "*.la" -delete -print rm -r %{buildroot}%{_datadir}/icons/hicolor/120x120 %suse_update_desktop_file rygel %suse_update_desktop_file rygel-preferences X-SuSE-ControlCenter-System -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} %clean rm -rf %{buildroot} %post +%desktop_database_post %icon_theme_cache_post -if test -x usr/bin/update-mime-database ; then - usr/bin/update-mime-database usr/share/mime >/dev/null -fi %postun +%desktop_database_postun %icon_theme_cache_postun -if test -x usr/bin/update-mime-database ; then - usr/bin/update-mime-database usr/share/mime >/dev/null -fi %files %defattr(-, root, root)