From f992aa1af94aa077e63b90a992658be318bf3107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 22 Jan 2022 00:13:55 +0100 Subject: [PATCH] Simplify %generate_buildrequires --- python-tomli-w.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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