From 89d33db361aa06fc54baa0ffeafa2f931bc60e5f Mon Sep 17 00:00:00 2001 From: Dylan Stephano-Shachter Date: Aug 24 2018 15:24:58 +0000 Subject: only run pathfix.py on python 3 builds --- diff --git a/libtalloc.spec b/libtalloc.spec index dacccfa..4b40d28 100644 --- a/libtalloc.spec +++ b/libtalloc.spec @@ -88,6 +88,7 @@ Development libraries for python3-talloc %if 0%{?with_python3} PY3_CONFIG_FLAGS=--extra-python=%{__python3} +pathfix.py -n -p -i %{__python2} buildtools/bin/waf %else PY3_CONFIG_FLAGS="" %endif @@ -95,8 +96,6 @@ PY3_CONFIG_FLAGS="" # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376 export python_LDFLAGS="" -pathfix.py -n -p -i %{__python2} buildtools/bin/waf - %configure --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \