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.