From 46f7d6e83e3267c0668921ebb5bf93914bd8a72c Mon Sep 17 00:00:00 2001 From: Dylan Stephano-Shachter Date: Fri, 24 Aug 2018 11:23:39 -0400 Subject: [PATCH] only run pathfix.py on python 3 builds --- libtdb.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 \