summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-01 19:58:43 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-01 19:58:43 +0200
commitfc5d3c8d01e679b569e18b13488363cadb5e1d7f (patch)
tree330510c67ef58c6841559c4a6e9cde31f3723326 /redhat/dependencies
parent6c6b5d78dec78448e85989c6cd09020e79c1fd6d (diff)
downloadtde-packaging-fc5d3c8d01e679b569e18b13488363cadb5e1d7f.tar.gz
tde-packaging-fc5d3c8d01e679b569e18b13488363cadb5e1d7f.zip
RPM Packaging: updates
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index 1cf3e4bd5..e273c4006 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -49,7 +49,7 @@ BuildRequires: cups-devel
# GLIB2 support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
-%define with_glibmainloop 1
+hdefine with_glibmainloop 1
BuildRequires: glib2-devel
%endif
@@ -481,7 +481,7 @@ for the TQt 3 toolkit.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 5
-%patch1 -p1 -b .ftbfs
+#patch1 -p1 -b .ftbfs
%endif
%patch15 -p1 -b .tqthomedir
@@ -512,6 +512,10 @@ export PATH=${QTDIR}/bin:${PATH}
export MANPATH=${QTDIR}/doc/man:${MANPATH}
export LD_LIBRARY_PATH="${QTDIR}/lib"
+%if 0%{?rhel} == 5
+%__sed -i src/kernel/ntqstyle.h -e "s|#ifdef ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
+%endif
+
# Checks for supplementary include dir
INCDIRS=""
for d in \