summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/libtqt-perl
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/libraries/libtqt-perl
parent6253ed4f8177cb33fef709fb7e215ff94e6300c1 (diff)
downloadtde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.tar.gz
tde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.zip
RPM Packaging: massive update
Diffstat (limited to 'redhat/libraries/libtqt-perl')
-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}