diff --git a/python-tomli-w.spec b/python-tomli-w.spec index 66273a8..764acce 100644 --- a/python-tomli-w.spec +++ b/python-tomli-w.spec @@ -36,11 +36,7 @@ Summary: %{summary} %generate_buildrequires -%if %{with check} -%pyproject_buildrequires -t -%else -%pyproject_buildrequires -%endif +%pyproject_buildrequires %{?with_check:-t} %build