From 8548ee4e3735cbd73c0b6aa63dc9626e7abbcd89 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Aug 19 2019 21:20:24 +0000 Subject: Don't BR tests BR without tests --- 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.