diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 8f6b032..9110bf0 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -12,10 +12,12 @@ Source0: https://github.com/facelessuser/soupsieve/archive/%{version}/%{n BuildArch: noarch BuildRequires: python3-devel +%if %{with tests} BuildRequires: python3-pytest BuildRequires: python3dist(lxml) BuildRequires: python3dist(html5lib) BuildRequires: python3dist(beautifulsoup4) +%endif %global _description %{expand: Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4.