summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kbarcode
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:09:11 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:09:11 +0200
commitd45bc6f2a0b63a4533b1d325207c9421ffd8051c (patch)
tree0178af4d916a54c33484bb7cab9ee148e9d09ea3 /redhat/applications/kbarcode
parent8b32b1132dd028eb502cc670932070dcd1e527c3 (diff)
downloadtde-packaging-d45bc6f2a0b63a4533b1d325207c9421ffd8051c.tar.gz
tde-packaging-d45bc6f2a0b63a4533b1d325207c9421ffd8051c.zip
RHEL/Fedora: fix lots of application building
Diffstat (limited to 'redhat/applications/kbarcode')
-rw-r--r--redhat/applications/kbarcode/trinity-kbarcode.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/redhat/applications/kbarcode/trinity-kbarcode.spec b/redhat/applications/kbarcode/trinity-kbarcode.spec
index 4af036bb6..507e0b1a5 100644
--- a/redhat/applications/kbarcode/trinity-kbarcode.spec
+++ b/redhat/applications/kbarcode/trinity-kbarcode.spec
@@ -66,12 +66,12 @@ to use them in another application.
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
- -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \
- -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g"
+ -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
-%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
-%__make -f "admin/Makefile.common"
+%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f admin/Makefile.common
%build