only run pathfix.py on python 3 builds
This commit is contained in:
parent
7237904a04
commit
89d33db361
@ -88,6 +88,7 @@ Development libraries for python3-talloc
|
|||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
PY3_CONFIG_FLAGS=--extra-python=%{__python3}
|
PY3_CONFIG_FLAGS=--extra-python=%{__python3}
|
||||||
|
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
|
||||||
%else
|
%else
|
||||||
PY3_CONFIG_FLAGS=""
|
PY3_CONFIG_FLAGS=""
|
||||||
%endif
|
%endif
|
||||||
@ -95,8 +96,6 @@ PY3_CONFIG_FLAGS=""
|
|||||||
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
||||||
export python_LDFLAGS=""
|
export python_LDFLAGS=""
|
||||||
|
|
||||||
pathfix.py -n -p -i %{__python2} buildtools/bin/waf
|
|
||||||
|
|
||||||
%configure --disable-rpath \
|
%configure --disable-rpath \
|
||||||
--disable-rpath-install \
|
--disable-rpath-install \
|
||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user