From b5943e1fe0866f4b363d0be9b3cc7eb4454703f2 Mon Sep 17 00:00:00 2001 From: Dylan Stephano-Shachter Date: Fri, 24 Aug 2018 11:25:47 -0400 Subject: [PATCH] only run pathfix.py on python 3 builds --- libtevent.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtevent.spec b/libtevent.spec index b4bfe1b..a543188 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -94,12 +94,11 @@ UpdateTimestamps() { %if 0%{?with_python3} export PY3_CONFIG_FLAGS=--extra-python=%{__python3} +pathfix.py -n -p -i %{__python2} buildtools/bin/waf %else export PY3_CONFIG_FLAGS= %endif -pathfix.py -n -p -i %{__python2} buildtools/bin/waf - %configure --disable-rpath \ --bundled-libraries=NONE \ --builtin-libraries=replace \