diff --git a/gnome-control-center.changes b/gnome-control-center.changes index 6b6793e..a1ce2f0 100644 --- a/gnome-control-center.changes +++ b/gnome-control-center.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Oct 3 07:36:56 UTC 2011 - vuntz@opensuse.org + +- Remove usage of %mime_database_{post,postun} macros as there is + no MIME definition installed. +- Do not pass --disable-update-mimedb to configure since it's not + useful anymore. + ------------------------------------------------------------------- Mon Sep 26 19:41:43 UTC 2011 - vuntz@opensuse.org diff --git a/gnome-control-center.spec b/gnome-control-center.spec index 246ef22..8f0f30b 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -141,8 +141,7 @@ translation-update-upstream --with-libsocialweb\ --disable-static\ --disable-scrollkeeper\ - --disable-maintainer-mode\ - --disable-update-mimedb + --disable-maintainer-mode make %{?jobs:-j%jobs} V=1 %install @@ -150,7 +149,6 @@ make %{?jobs:-j%jobs} V=1 %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif -rm -f %{buildroot}%{_datadir}/applications/mimeinfo.cache find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name}-2.0 %{?no_lang_C} %find_lang %{name}-2.0-timezones %{name}-2.0.lang @@ -186,13 +184,11 @@ rm -rf $RPM_BUILD_ROOT %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post -%mime_database_post %postun %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun -%mime_database_postun %post -n libgnome-control-center1 -p /sbin/ldconfig