summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca/tqca-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-08-05 20:25:18 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-08-05 20:25:18 +0200
commit562049cd694f6dd0927b9880227fc4f6da008839 (patch)
treee939e442f1fb29ff29811ebc02f672ecf62a47c1 /redhat/dependencies/tqca/tqca-14.0.0.spec
parent6253ed4f8177cb33fef709fb7e215ff94e6300c1 (diff)
downloadtde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.tar.gz
tde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.zip
RPM Packaging: massive update
Diffstat (limited to 'redhat/dependencies/tqca/tqca-14.0.0.spec')
-rw-r--r--redhat/dependencies/tqca/tqca-14.0.0.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec
index 23bee37b8..127761a45 100644
--- a/redhat/dependencies/tqca/tqca-14.0.0.spec
+++ b/redhat/dependencies/tqca/tqca-14.0.0.spec
@@ -150,12 +150,18 @@ unset QTDIR QTINC QTLIB
--qtdir=/usr \
--debug
+
+# Workaround strange tqmake behaviour in RHEL5
+%if 0%{?rhel} == 5
+%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g"
+%endif
+
%__make %{?_smp_mflags}
%install
%__rm -rf $RPM_BUILD_ROOT
-%__make install INSTALL_ROOT=$RPM_BUILD_ROOT
+%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/"
%clean