From 4e552a1d46792441f8f6a13921e4f2f7b6a62169 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 17 Jan 2019 22:15:23 +0100 Subject: [PATCH] Workaround for hardcoded path in Makefile sh-4.4# make all PYTHONHASHSEED=1 WAF_MAKE=1 ../../buildtools/bin/waf build /bin/sh: ../../buildtools/bin/waf: No such file or directory make: *** [Makefile:7: all] Error 127 --- libtdb.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libtdb.spec b/libtdb.spec index eef30c1..d36426d 100644 --- a/libtdb.spec +++ b/libtdb.spec @@ -80,6 +80,9 @@ Python3 bindings for libtdb %autosetup -n tdb-%{version} -p1 %build +# workaround for hardcoded PATH to waf +sed -e 's:\.\./\.\./buildtools:./buildtools:' -i Makefile + %{?export_waf_python} %configure --disable-rpath \ --bundled-libraries=NONE \