From d65fcb90da1c2f0ec13a4666d522ca06c6cc4116 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 13 Dec 2015 10:08:00 +0100 Subject: [PATCH] build: bison and flex are needed to configure libnl3 This is just a safety. Those packages are normally part of the default build group. --- debian/control | 1 + redhat/lldpd.spec | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian/control b/debian/control index 458c7c92..259f69d5 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Build-Depends: debhelper (>= 5), libjansson-dev | libjson-c-dev | libjson0-dev (>= 0.10), libevent-dev (>= 2.0.5), libnl-3-dev (>= 3.2.7), libnl-route-3-dev (>= 3.2.7), + bison, flex, libreadline-dev, libbsd-dev, pkg-config, diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 9f317681..c75806b9 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -77,6 +77,8 @@ BuildRequires: libevent-devel %if %{with system_libnl} BuildRequires: libnl3-devel %endif +BuildRequires: flex +BuildRequires: bison BuildRequires: readline-devel %if %{with snmp} BuildRequires: net-snmp-devel -- 2.39.5