diff --git a/python-apipkg.spec b/python-apipkg.spec index 2e93a16..09adb23 100644 --- a/python-apipkg.spec +++ b/python-apipkg.spec @@ -37,7 +37,7 @@ Source: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-% # Collected upstream fixes for gh#pytest-dev/apipkg#14 and # gh#pytest-dev/apipkg#15 Patch0: pytest4.patch -%if %{?with test} +%if %{with test} BuildRequires: %{python_module pytest} %endif BuildRequires: %{python_module setuptools_scm}