Accepting request 86165 from home:vuntz:branches:GNOME:Factory

Small cleanup

OBS-URL: https://build.opensuse.org/request/show/86165
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=115
This commit is contained in:
Vincent Untz 2011-10-04 07:05:04 +00:00 committed by Git OBS Bridge
parent c54dff0cb7
commit c875a6b220
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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