From bb2bd4d74495a3a638d51184e2f2b38c6ac79c07dcf88bbbadbdab09ee1a4ea1 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Mon, 14 Feb 2011 00:09:11 +0000 Subject: [PATCH] Accepting request 60996 from GNOME:Apps Accepted submit request 60996 from user vuntz OBS-URL: https://build.opensuse.org/request/show/60996 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tracker?expand=0&rev=19 --- tracker.changes | 11 +++++++++++ tracker.spec | 14 +++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) 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