2025-07-17 09:43:34 +00:00
committed by Git OBS Bridge
parent 29f2afe441
commit ff552b1d78

View File

@@ -26,7 +26,7 @@ License: BSD-2-Clause AND Python-2.0
URL: https://github.com/nose-devs/nose2
Source: https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
# Required for testsuite. Bring on python-wheel-wheel
Source1: https://files.pythonhosted.org/packages/c7/w/wheel/wheel-0.42.0-py3-none-any.whl
Source1: https://files.pythonhosted.org/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools-wheel}
@@ -64,7 +64,7 @@ export LC_CTYPE=C.UTF8
%{python_expand # nose must test itself in an editable install
$python -m venv editable-%{$python_bin_suffix} --system-site-packages
. editable-%{$python_bin_suffix}/bin/activate
pip install --no-index --find-links %{_prefix}/lib/python%{$python_bin_suffix}/wheels --find-links ../wheels -e .
pip install --no-index --find-links /usr/lib/python%{$python_bin_suffix}/wheels --find-links ../wheels -e .
nose2 -v --pretty-assert
deactivate
}