- Do not bother with standard flavor, just make it default
- Execute the tests only on standard package for now not hpc variants OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
a977c7ff93
commit
7d1863d27f
@@ -27,10 +27,6 @@
|
||||
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
|
||||
|
||||
%if "%flavor" == ""
|
||||
ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%flavor" == "standard"
|
||||
%bcond_with hpc
|
||||
%if 0%{?sle_version} == 120300 && !0%{?is_opensuse}
|
||||
%bcond_with openblas
|
||||
@@ -247,10 +243,12 @@ EOF
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if %{without hpc}
|
||||
pushd doc &> /dev/null
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" $python -m pytest -v --pyargs numpy
|
||||
popd &> /dev/null
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
|
||||
Reference in New Issue
Block a user