- 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:
parent
13579fa2be
commit
811ebadef3
@ -1,4 +1,3 @@
|
||||
<multibuild>
|
||||
<package>standard</package>
|
||||
<package>gnu-hpc</package>
|
||||
</multibuild>
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 10:43:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do not bother with standard flavor, just make it default
|
||||
- Execute the tests only on standard package for now not hpc variants
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 09:28:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user