[packages/python-cssselect] tests require python-lxml

jajcus jajcus at pld-linux.org
Sat Nov 28 18:03:22 CET 2015


commit d9e62367f4063d2725527b9a89883359f66f6c2e
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 17:11:18 2015 +0100

    tests require python-lxml

 python-cssselect.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/python-cssselect.spec b/python-cssselect.spec
index 825aedd..28d59df 100644
--- a/python-cssselect.spec
+++ b/python-cssselect.spec
@@ -20,11 +20,17 @@ BuildRequires:	rpmbuild(macros) >= 1.219
 %if %{with python2}
 BuildRequires:	python-devel
 BuildRequires:	python-distribute
+%if %{with tests}
+BuildRequires:	python-lxml
+%endif
 %endif
 %if %{with python3}
 BuildRequires:	python3-devel
 BuildRequires:	python3-distribute
 BuildRequires:	python3-modules
+%if %{with tests}
+BuildRequires:	python3-lxml
+%endif
 %endif
 Requires:	python-modules
 BuildArch:	noarch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cssselect.git/commitdiff/58c066cc2c38d3a6f04fa2c98f192e7f83ec6577



More information about the pld-cvs-commit mailing list