RPM: tqt3 ftbfs on rhel5

pull/92/head
François Andriot 4 years ago
parent 1d8b898431
commit ff06099c11

@ -1272,6 +1272,10 @@ echo "suse_version = %{?suse_version}"
echo "sle_version = %{?sle_version}"
%endif
%if 0%{?rhel} == 5
%__sed -i "src/sql/drivers/mysql/qsql_mysql.cpp" -e "s|bool reconnect = 0;|my_bool reconnect = 0;|g"
%endif
# fix variables in 'qmake.conf'
%__sed -i mkspecs/*/qmake.conf \
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \

Loading…
Cancel
Save