diff --git a/tracker.changes b/tracker.changes index c12bc7f..4325eec 100644 --- a/tracker.changes +++ b/tracker.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Feb 12 18:36:29 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. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. + ------------------------------------------------------------------- Mon Jan 31 09:52:52 CET 2011 - dimstar@opensuse.org diff --git a/tracker.spec b/tracker.spec index b5aca78..2772a5a 100644 --- a/tracker.spec +++ b/tracker.spec @@ -345,7 +345,7 @@ cp %{S:2} src/miners/rss/README.SUSE %makeinstall find %{buildroot} -type f -name "*.la" -delete -print rm -r %{buildroot}%{_datadir}/tracker-tests -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} %suse_update_desktop_file tracker-miner-flickr %suse_update_desktop_file tracker-miner-fs %suse_update_desktop_file tracker-miner-rss @@ -379,6 +379,18 @@ rm -rf %{buildroot} %postun -n libtracker-sparql-0_10-0 -p /sbin/ldconfig +%if 0%{?suse_version} > 1130 +%post gui +%desktop_database_post +%icon_theme_cache_post +%endif + +%if 0%{?suse_version} > 1130 +%postun gui +%desktop_database_postun +%icon_theme_cache_postun +%endif + %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README NEWS