[libvirt] [PATCH libvirt-python 1/2] build: add BuildRequires for python-lxml and python3-lxml

Laine Stump laine at laine.org
Mon Apr 7 11:30:51 UTC 2014


python-lxml is likely always already present anyway (due to so many
packages being dependent on it), but at least on my F20 system,
python3-lxml wasn't installed, leading to a failure of "python
setup.py rpm" without an informative error message.
---
 libvirt-python.spec.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
index 25d22cd..b51571e 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -15,9 +15,11 @@ Group: Development/Libraries
 BuildRequires: libvirt-devel >= @C_VERSION@
 BuildRequires: python-devel
 BuildRequires: python-nose
+BuildRequires: python-lxml
 %if %{with_python3}
 BuildRequires: python3-devel
 BuildRequires: python3-nose
+BuildRequires: python3-lxml
 %endif
 
 %if %{with_python3}
-- 
1.9.0




More information about the libvir-list mailing list