From 959629a801b63664bf8432ec78800d760a24cb5e Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Mon, 7 Apr 2014 14:19:45 +0300 Subject: [PATCH] build: add BuildRequires for python-lxml and python3-lxml 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}