- Fix logic in spec file for xine disable
This commit is contained in:
parent
32df27dae4
commit
95ee26a956
@ -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 <pbrobinson@gmail.com> - 2.25.90-2
|
||||
- Fix logic in spec file for xine disable
|
||||
|
||||
* Tue Feb 03 2009 - Bastien Nocera <bnocera@redhat.com> - 2.25.90-1
|
||||
- Update to 2.25.90
|
||||
- Add separate UPNP plugin package
|
||||
|
||||
Loading…
Reference in New Issue
Block a user