From 47140811aaa2162c9c9f4f46dba6b08d9cc21b25 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 25 Jun 2022 10:56:55 -0400 Subject: [PATCH] BR python3dist(hypothesis) to enable more tests --- python-chardet.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-chardet.spec b/python-chardet.spec index 4954a5b..56dc09d 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -32,7 +32,9 @@ BuildArch: noarch BuildRequires: python3-devel %if %{with tests} -BuildRequires: python3-pytest +BuildRequires: python3dist(pytest) +# Optional; enables additional tests (see test.py) +BuildRequires: python3dist(hypothesis) %endif %if %{with doc_pdf}