Use pyunittest macro.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=37
This commit is contained in:
parent
4e5a5958dd
commit
c7441c9c7d
@ -31,8 +31,8 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Provides: python-typing-extensions = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -78,7 +78,7 @@ cp %{SOURCE1} src/
|
||||
|
||||
%check
|
||||
pushd src
|
||||
%python_exec -m unittest -v test_typing_extensions
|
||||
%pyunittest -v test_typing_extensions
|
||||
popd
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user