Use the same test execution as upstream does, they do not ship tox config in the sdist. Removes pytest dependency
This commit is contained in:
parent
0b7cf422d2
commit
96ae4f1f10
@ -14,7 +14,6 @@ BuildArch: noarch
|
|||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-test
|
BuildRequires: python3-test
|
||||||
BuildRequires: python3-pytest
|
|
||||||
|
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
@ -70,7 +69,8 @@ cp -v %{SOURCE1} src/
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
cd src
|
||||||
|
%{python3} -m unittest discover
|
||||||
|
|
||||||
%files -n python3-typing-extensions -f %{pyproject_files}
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user