From 1081edf7b700926d8d5967f31449d9856cb52eec Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Apr 29 2018 17:06:52 +0000 Subject: Don't use ambiguous %{__python} --- diff --git a/numpy.spec b/numpy.spec index 5cfdd7a..1a3b981 100644 --- a/numpy.spec +++ b/numpy.spec @@ -185,7 +185,7 @@ env ATLAS=%{_libdir} \ %endif BLAS=%{_libdir} \ LAPACK=%{_libdir} CFLAGS="%{optflags}" \ - %{__python} setup.py build + %{__python2} setup.py build %install mkdir docs @@ -196,7 +196,7 @@ popd # first install python3 so the binaries are overwritten by the python2 ones %if 0%{?with_python3} pushd %{py3dir} -#%%{__python} setup.py install -O1 --skip-build --root %%{buildroot} +#%%{__python3} setup.py install -O1 --skip-build --root %%{buildroot} # skip-build currently broken, this works around it for now %ifarch %{openblas_arches} env OPENBLAS=%{_libdir} \ @@ -213,7 +213,7 @@ popd %endif # with_python3 -#%%{__python} setup.py install -O1 --skip-build --root %%{buildroot} +#%%{__python2} setup.py install -O1 --skip-build --root %%{buildroot} # skip-build currently broken, this works around it for now %ifarch %{openblas_arches} env OPENBLAS=%{_libdir} \