diff --git a/python-numpy.spec b/python-numpy.spec index 9b8cbd1..50e5b92 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -193,7 +193,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_exec setup.py install --prefix=%{p_prefix} --root=%{buildroot} %if !%{with hpc} -%python_clone -a %{buildroot}%{p_bindir}/f2py +%python_clone -a %{buildroot}%{bindir}/f2py %endif %if 0%{?suse_version} @@ -269,8 +269,8 @@ popd %files %{python_files} %doc README.md THANKS.txt %if %{without hpc} -%python_alternative %{bindir}/f2py -%python3_only %{bindir}/f2py3* +%python_alternative %{_bindir}/f2py +%python3_only %{_bindir}/f2py3* %{python_sitearch}/numpy/ %{python_sitearch}/numpy-%{version}-py*.egg-info %license %{python_sitearch}/numpy/LICENSE.txt