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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]