|
|
@ -473,10 +473,14 @@ for the TQt 3 toolkit.
|
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix strange FTBFS on RHEL5
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 5
|
|
|
|
|
|
|
|
%__sed -i src/kernel/ntqstyle.h -e "s|#ifdef ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# fix variables in 'qmake.conf'
|
|
|
|
# fix variables in 'qmake.conf'
|
|
|
|
%__sed -i mkspecs/*/qmake.conf \
|
|
|
|
%__sed -i mkspecs/*/qmake.conf \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
|
|
|
|
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
|
|
|
|