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
This commit is contained in:
Lukas Slebodnik 2019-01-17 22:15:23 +01:00
parent 4a0fc8c327
commit 4e552a1d46

View File

@ -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 \