From a551f70e6259d38af467fe435603acea28d161b01cf4f585772c108cc8b3ceb4 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 20 Dec 2010 13:27:32 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/rygel revision 7.0 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/rygel?expand=0&rev=d3071314d7253a7255ddc5e781aa7d5d --- rygel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rygel.spec b/rygel.spec index a02bb69..43e4d9b 100644 --- a/rygel.spec +++ b/rygel.spec @@ -19,7 +19,7 @@ Name: rygel Version: 0.8.3 -Release: 1 +Release: 2 License: LGPL v2 or later Summary: Collection of UPnP/DLNA services for GNOME Url: http://live.gnome.org/Rygel From 6ae77d43f57561dd95e1d3aa4900ca8b74e6a23ee046ee5ae6a2917df39bd0f3 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Sun, 13 Feb 2011 21:19:40 +0000 Subject: [PATCH 2/2] 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 --- rygel.changes | 11 +++++++++++ rygel.spec | 10 +++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/rygel.changes b/rygel.changes index d46f786..4330403 100644 --- a/rygel.changes +++ b/rygel.changes @@ -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 diff --git a/rygel.spec b/rygel.spec index 43e4d9b..6318d3a 100644 --- a/rygel.spec +++ b/rygel.spec @@ -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)