summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec')
-rw-r--r--redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
index c170b987f..bfb00bbae 100644
--- a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
+++ b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
@@ -76,6 +76,9 @@ It provides an object-oriented interface and is easy to use.
%{tde_mandir}/man1/puic.1*
%{_bindir}/pqtapi
%{_bindir}/pqtsh
+%if 0%{?rhel} == 5
+%{_datadir}/doc/libqt-perl/
+%endif
##########
@@ -147,6 +150,11 @@ export PATH="%{tde_bindir}:${PATH}"
\
--disable-smoke
+# Fix invalid path in RHEL 5
+%if 0%{?rhel} == 5
+%__sed -i "PerlTQt/Makefile" -e "s|\$(PREFIX)/|\$(DESTDIR)\$(PREFIX)/|"
+%endif
+
%__make %{?_smp_mflags}