summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebindings
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdebindings')
-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"