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

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/60843
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/rygel?expand=0&rev=15
This commit is contained in:
Vincent Untz 2011-02-13 21:19:40 +00:00 committed by Git OBS Bridge
parent a551f70e62
commit 6ae77d43f5
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)