]> xenbits.xensource.com Git - libvirt.git/commitdiff
libpcap: Bump the minimum required version to >= 1.5.0
authorErik Skultety <eskultet@redhat.com>
Thu, 30 Jan 2020 12:05:54 +0000 (13:05 +0100)
committerErik Skultety <eskultet@redhat.com>
Thu, 30 Jan 2020 15:30:12 +0000 (16:30 +0100)
libpcap-1.5.0 introduced a function to enforce immediate mode (on all
platforms) which the follow-up patches will rely on.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in
m4/virt-libpcap.m4

index bbf9748582f5e9da21b08da85fd4b705bb1c1a48..b349d1bc7ee6f1deae69198dd6664a9e756122ff 100644 (file)
@@ -302,7 +302,7 @@ BuildRequires: yajl-devel
 %if %{with_sanlock}
 BuildRequires: sanlock-devel >= 2.4
 %endif
-BuildRequires: libpcap-devel
+BuildRequires: libpcap-devel >= 1.5.0
 BuildRequires: libnl3-devel
 BuildRequires: libselinux-devel
 BuildRequires: dnsmasq >= 2.41
index 8fa4889ec88ff8f0b3c1021eb2b56f58acefbc02..605c2fdea71f9743330f05abb57add15d5e49021 100644 (file)
@@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_ARG_LIBPCAP], [
 ])
 
 AC_DEFUN([LIBVIRT_CHECK_LIBPCAP], [
-  LIBPCAP_REQUIRED="1.0.0"
+  LIBPCAP_REQUIRED="1.5.0"
   LIBPCAP_CONFIG="pcap-config"
   LIBPCAP_CFLAGS=""
   LIBPCAP_LIBS=""