diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2019-12-04 16:23:48 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2019-12-06 13:25:29 +0000 |
commit | c7239ca55b089d0b89a467f2cca90f8005df23bf (patch) | |
tree | 7173b2775742744b3b940031aefcf25c4b62dd1b | |
parent | b22e4f2441078aec048b9503fde2b45e78710ce1 (diff) | |
download | libvirt-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>
-rw-r--r-- | libvirt-python.spec.in | 5 |
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 |