[packages/python3-bs4] - tests are not installed if building without tests
baggins
baggins at pld-linux.org
Tue Oct 27 23:27:02 CET 2026
commit 65d91bb8eca321590b49e9bc3fe221e625a560c6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Oct 27 23:26:45 2026 +0100
- tests are not installed if building without tests
python3-bs4.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/python3-bs4.spec b/python3-bs4.spec
index cf9e25a..f982210 100644
--- a/python3-bs4.spec
+++ b/python3-bs4.spec
@@ -76,7 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%py3_install_pyproject
+%if %{with tests}
%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/bs4/tests
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-bs4.git/commitdiff/65d91bb8eca321590b49e9bc3fe221e625a560c6
More information about the pld-cvs-commit
mailing list