From 3a9c810527574f0a4dee679ea71d4fc4781f7001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 18 Oct 2023 16:31:20 +0200 Subject: [PATCH] Revert "Use tox for testing" This reverts commit e36c09482d85aa76680a0305ba15ab9e3e5ea595. There are several problems with the reverted commit: 1. The -t option should go to %pyproject_buildrequires, not %generate_buildrequires. 2. This package is a transitive BuildRequirement for tox itself. 3. This package is in ELN where tox is not desired. 4. This package has no test dependencies, so using tox is overkill. --- python-typing-extensions.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec index 44f92f1..9694d49 100644 --- a/python-typing-extensions.spec +++ b/python-typing-extensions.spec @@ -44,7 +44,7 @@ Summary: %{summary} %autosetup -n typing_extensions-%{version} -%generate_buildrequires -t +%generate_buildrequires %pyproject_buildrequires @@ -59,7 +59,8 @@ Summary: %{summary} %check -%tox +cd src +%{python3} -m unittest discover %files -n python3-typing-extensions -f %{pyproject_files}