From e893d3ca8e133bafb8e7711e8fd625f606dcaa9a Mon Sep 17 00:00:00 2001 From: Jean-Marc Liger Date: Wed, 29 Jun 2016 17:37:28 +0100 Subject: [PATCH] libvirt.spec.in: Use libnl-devel for RHEL-6 RHEL-6 still needs to use libnl instead of libnl3, so re-add the spec conditional mistakenly removed in commit 3694e038fd12825042cca6204f7aa7322e2ed9c9 Author: Daniel P. Berrange Date: Wed May 4 15:43:08 2016 +0100 libvirt.spec.in: drop Fedora < 20 and RHEL < 6 --- libvirt.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 4a466649aa..106351c40a 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -302,7 +302,11 @@ BuildRequires: yajl-devel BuildRequires: sanlock-devel >= 2.4 %endif BuildRequires: libpcap-devel +%if 0%{?rhel} && 0%{?rhel} < 7 +BuildRequires: libnl-devel +%else BuildRequires: libnl3-devel +%endif BuildRequires: avahi-devel BuildRequires: libselinux-devel BuildRequires: dnsmasq >= 2.41 -- GitLab