summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaine Stump <laine@laine.org>2014-04-07 14:19:45 +0300
committerLaine Stump <laine@laine.org>2014-04-07 15:33:24 +0300
commit959629a801b63664bf8432ec78800d760a24cb5e (patch)
treecfdf1a376ef1d3e69738874021acfffb17d2c8a1
parent2419f29435d3df835a2af5fe37679e82ae8f4c81 (diff)
downloadlibvirt-python-959629a801b63664bf8432ec78800d760a24cb5e.tar.gz
build: add BuildRequires for python-lxml and python3-lxmlv1.2.4
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.
-rw-r--r--libvirt-python.spec.in2
1 files changed, 2 insertions, 0 deletions
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}