[packages/python3-bs4] - bcond around tests deps

baggins baggins at pld-linux.org
Tue Mar 11 19:34:54 CET 2025


commit c1b08e394b62b7ec7492d4a9c7554cb2b841c3b9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 11 20:16:11 2025 +0100

    - bcond around tests deps

 python3-bs4.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python3-bs4.spec b/python3-bs4.spec
index bceb81b..112fe65 100644
--- a/python3-bs4.spec
+++ b/python3-bs4.spec
@@ -18,8 +18,10 @@ URL:		https://www.crummy.com/software/BeautifulSoup/
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
 BuildRequires:	python3-modules >= 1:3.2
+%if %{with tests}
 BuildRequires:	python3-soupsieve >= 1.2
 BuildRequires:	python3-typing_extensions
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	rpm-pythonprov
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-bs4.git/commitdiff/c1b08e394b62b7ec7492d4a9c7554cb2b841c3b9



More information about the pld-cvs-commit mailing list