From d423db1bd0c0b2378465e9b53a1abe9c132fcd04 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 17 Jan 2019 23:39:49 +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 --- libldb.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libldb.spec b/libldb.spec index 794b8fe..7f70148 100644 --- a/libldb.spec +++ b/libldb.spec @@ -155,6 +155,9 @@ Development files for the Python bindings for the LDB library # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376 export python_LDFLAGS="" +# workaround for hardcoded PATH to waf +sed -e 's:\.\./\.\./buildtools:./buildtools:' -i Makefile + %{?export_waf_python} %configure --disable-rpath \ --disable-rpath-install \