don't apply gst1 patch on el6

This commit is contained in:
Rex Dieter 2014-12-11 12:04:15 -06:00
parent ca312282dd
commit 50fa968627

View File

@ -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