From 9bd04a37162ed841a167dc38545902b3131cc123 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Jan 18 2019 15:17:17 +0000 Subject: 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 --- diff --git a/libtevent.spec b/libtevent.spec index 9a9747f..7cb54da 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -102,6 +102,9 @@ UpdateTimestamps() { %autosetup -n tevent-%{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 \