Accepting request 61077 from GNOME:Factory

Accepted submit request 61077 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/61077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rygel?expand=0&rev=8
This commit is contained in:
Ruediger Oertel 2011-02-14 00:20:59 +00:00 committed by Git OBS Bridge
commit caa3c04ca0
2 changed files with 14 additions and 7 deletions

View File

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

View File

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