don't apply gst1 patch on el6
This commit is contained in:
parent
ca312282dd
commit
50fa968627
@ -92,7 +92,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%prep
|
%prep
|
||||||
%setup -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
|
%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
|
%patch106 -p1 -b .0006
|
||||||
|
%endif
|
||||||
|
|
||||||
# force version match, snapshot is marked 5.5.0 currently
|
# force version match, snapshot is marked 5.5.0 currently
|
||||||
sed -i -e "s|^MODULE_VERSION =.*|MODULE_VERSION = %{version}|" .qmake.conf
|
sed -i -e "s|^MODULE_VERSION =.*|MODULE_VERSION = %{version}|" .qmake.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user