From 46f7d6e83e3267c0668921ebb5bf93914bd8a72c Mon Sep 17 00:00:00 2001 From: Dylan Stephano-Shachter Date: Aug 24 2018 15:23:39 +0000 Subject: only run pathfix.py on python 3 builds --- diff --git a/libtdb.spec b/libtdb.spec index 09cb726..2cb4316 100644 --- a/libtdb.spec +++ b/libtdb.spec @@ -66,12 +66,11 @@ Python3 bindings for libtdb %build %if 0%{?with_python3} PY3_CONFIG_FLAGS=--extra-python=%{__python3} +pathfix.py -n -p -i %{__python2} buildtools/bin/waf %else PY3_CONFIG_FLAGS="" %endif -pathfix.py -n -p -i %{__python2} buildtools/bin/waf - %configure --disable-rpath \ --bundled-libraries=NONE \ --builtin-libraries=replace \