Tomáš Chvátal 2020-04-07 13:59:46 +00:00 committed by Git OBS Bridge
parent 806fb71119
commit 9a860be495

View File

@ -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