From 1db56ff074ff1053e3fd882c73e61c7299eed6b8 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Mon, 28 Aug 2023 11:41:06 +0200 Subject: [PATCH] Autodiscover test dependencies --- python-sphinxcontrib-applehelp.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python-sphinxcontrib-applehelp.spec b/python-sphinxcontrib-applehelp.spec index 0abf337..448decf 100644 --- a/python-sphinxcontrib-applehelp.spec +++ b/python-sphinxcontrib-applehelp.spec @@ -22,13 +22,9 @@ Patch: Prevent-circular-dependency-with-Sphinx.patch BuildRequires: gettext BuildRequires: python%{python3_pkgversion}-devel -%if %{with check} -BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-sphinx >= 1:2 -%endif %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires %{?with_check: -x test} %description sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.