summaryrefslogtreecommitdiff
path: root/libvirt-python.spec.in
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2019-12-04 16:23:48 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2019-12-06 13:25:29 +0000
commitc7239ca55b089d0b89a467f2cca90f8005df23bf (patch)
tree7173b2775742744b3b940031aefcf25c4b62dd1b /libvirt-python.spec.in
parentb22e4f2441078aec048b9503fde2b45e78710ce1 (diff)
downloadlibvirt-python-c7239ca55b089d0b89a467f2cca90f8005df23bf.tar.gz
Fix RPM deps for centos 7
Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'libvirt-python.spec.in')
-rw-r--r--libvirt-python.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
index 1e92f3c..33d2775 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -21,8 +21,13 @@ Url: http://libvirt.org
License: LGPLv2+
BuildRequires: libvirt-devel == %{version}
BuildRequires: python3-devel
+%if 0%{?rhel} == 7
+BuildRequires: python36-nose
+BuildRequires: python36-lxml
+%else
BuildRequires: python3-nose
BuildRequires: python3-lxml
+%endif
BuildRequires: gcc
# Don't want provides for python shared objects