From fc8bd550c9de788230989f8c796ae0a147a5bb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 1 Jul 2023 16:12:12 +0200 Subject: [PATCH] Don't BuildRequire linters --- python-tinycss2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 177493c..3aff3e8 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -18,6 +18,9 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros +# The test extra contains linters, we cherry-pick only what we need: +BuildRequires: python3-pytest + %description tinycss2 is a modern, low-level CSS parser for Python. tinycss2 is a rewrite of @@ -39,8 +42,9 @@ specification. %prep %autosetup -n %{srcname}-%{version} + %generate_buildrequires -%pyproject_buildrequires -r -x test +%pyproject_buildrequires -r %build