From 95ee26a9560e0a0decc8d936ca010de2245c4d1e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 4 Feb 2009 15:38:54 +0000 Subject: [PATCH] - Fix logic in spec file for xine disable --- totem.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/totem.spec b/totem.spec index 13c7e7a..05f92d0 100644 --- a/totem.spec +++ b/totem.spec @@ -9,7 +9,7 @@ Summary: Movie player for GNOME Name: totem Version: 2.25.90 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ with exceptions Group: Applications/Multimedia URL: http://projects.gnome.org/totem/ @@ -319,9 +319,11 @@ fi /usr/sbin/alternatives --install %{_libdir}/libbaconvideowidget.so.0.0.0 totem-backend %{_libdir}/libbaconvideowidget-gstreamer.so.0.0.0 2 /sbin/ldconfig +%if %{with_xine} %post xine /usr/sbin/alternatives --install %{_libdir}/libbaconvideowidget.so.0.0.0 totem-backend %{_libdir}/libbaconvideowidget-xine.so.0.0.0 1 /sbin/ldconfig +%endif %pre if [ "$1" -gt 1 ]; then @@ -357,11 +359,13 @@ if [ "$1" -eq 0 ]; then fi /sbin/ldconfig +%if %{with_xine} %postun xine if [ "$1" -eq 0 ]; then /usr/sbin/alternatives --remove totem-backend %{_libdir}/libbaconvideowidget-xine.so.0.0.0 fi /sbin/ldconfig +%endif %pre mythtv if [ "$1" -gt 1 ]; then @@ -472,6 +476,9 @@ fi %endif %changelog +* Wed Feb 04 2009 - Peter Robinson - 2.25.90-2 +- Fix logic in spec file for xine disable + * Tue Feb 03 2009 - Bastien Nocera - 2.25.90-1 - Update to 2.25.90 - Add separate UPNP plugin package