[qt5-qtmultimedia/el6] don't apply gst1 patch on el6

Rex Dieter rdieter at fedoraproject.org
Thu Dec 11 18:04:20 UTC 2014


commit 50fa9686271f84f13de9c2544f1ebd792b1a100d
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu Dec 11 12:04:15 2014 -0600

    don't apply gst1 patch on el6

 qt5-qtmultimedia.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/qt5-qtmultimedia.spec b/qt5-qtmultimedia.spec
index 753fb47..86f3989 100644
--- a/qt5-qtmultimedia.spec
+++ b/qt5-qtmultimedia.spec
@@ -92,7 +92,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
 %prep
 %setup -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
 
+# this happens to introduce some new stuff even for gst-0.10
+# GST_VIDEO_FORMAT_RGB16 (introduced in 0.10.30) , so omit for el6
+# FIXME/TODO: look into making compat via
+# #if GST_CHECK_VERSION(0,10,30) ...
+%if 0%{?rhel} != 6
 %patch106 -p1 -b .0006
+%endif
 
 # force version match, snapshot is marked 5.5.0 currently
 sed -i -e "s|^MODULE_VERSION =.*|MODULE_VERSION = %{version}|" .qmake.conf


More information about the scm-commits mailing list