summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebindings/tdebindings-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2018-05-13 13:33:36 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2018-05-13 13:34:18 +0200
commit35859abe41040ab12ea19636471ec6fc0e7686e2 (patch)
tree2997b9547715e9711ea22ae615d20316c6a4e53a /redhat/main/tdebindings/tdebindings-14.0.0.spec
parent9512efc10de55c5689f398107df14ae96670932e (diff)
downloadtde-packaging-35859abe41040ab12ea19636471ec6fc0e7686e2.tar.gz
tde-packaging-35859abe41040ab12ea19636471ec6fc0e7686e2.zip
RPM packaging: updates for Fedora 28 / OpenSUSE 15.0
Diffstat (limited to 'redhat/main/tdebindings/tdebindings-14.0.0.spec')
-rw-r--r--redhat/main/tdebindings/tdebindings-14.0.0.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec
index 3cfbabaeb..47ca29d7e 100644
--- a/redhat/main/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec
@@ -999,6 +999,13 @@ exit 1
%__sed -i "xparts/Makefile.am" \
-e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
+# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd'
+%if 0%{?fedora} >= 28
+%__sed -i "kjsembed/tdescript/swaptabs.js" \
+ -i "kjsembed/stdlib/cmdline.js" \
+ -e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|"
+%endif
+
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"