From 562049cd694f6dd0927b9880227fc4f6da008839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 5 Aug 2015 20:25:18 +0200 Subject: RPM Packaging: massive update --- redhat/dependencies/tqca/tqca-14.0.0.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'redhat/dependencies/tqca') 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 -- cgit v1.2.1