rpms/totem/devel totem.spec,1.221,1.222

Peter Robinson pbrobinson at fedoraproject.org
Wed Feb 4 15:39:25 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/totem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29661

Modified Files:
	totem.spec 
Log Message:
- Fix logic in spec file for xine disable


Index: totem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/totem/devel/totem.spec,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -r1.221 -r1.222
--- totem.spec	3 Feb 2009 23:15:52 -0000	1.221
+++ totem.spec	4 Feb 2009 15:38:54 -0000	1.222
@@ -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 @@
 /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 @@
 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 @@
 %endif
 
 %changelog
+* Wed Feb 04 2009 - Peter Robinson <pbrobinson at gmail.com> - 2.25.90-2
+- Fix logic in spec file for xine disable
+
 * Tue Feb 03 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.90-1
 - Update to 2.25.90
 - Add separate UPNP plugin package




More information about the fedora-extras-commits mailing list