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}