From 96ae4f1f105004bce9871c5f6dde4632550c6b91 Mon Sep 17 00:00:00 2001 From: Jonny Heggheim Date: Fri, 25 Nov 2022 15:08:00 +0100 Subject: [PATCH] Use the same test execution as upstream does, they do not ship tox config in the sdist. Removes pytest dependency --- python-typing-extensions.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec index 92f4843..fa78b05 100644 --- a/python-typing-extensions.spec +++ b/python-typing-extensions.spec @@ -14,7 +14,6 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-test -BuildRequires: python3-pytest %global _description %{expand: @@ -70,7 +69,8 @@ cp -v %{SOURCE1} src/ %check -%pytest +cd src +%{python3} -m unittest discover %files -n python3-typing-extensions -f %{pyproject_files} %license LICENSE