From 8a9031cda1a1f755f9aac3cb18e1959d7dfb0050 Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Sep 01 2020 09:17:16 +0000 Subject: Add libpcap-devel into requirements It is not provided by bind-devel, because it is used only by isc-config --libs isc. That means however, build without it would fail. --- diff --git a/dnsperf.spec b/dnsperf.spec index e151e2b..9df2d97 100644 --- a/dnsperf.spec +++ b/dnsperf.spec @@ -40,10 +40,14 @@ Patch1: dnsperf-nolicense.patch BuildRequires: gcc, make BuildRequires: autoconf automake libtool +# libcap-devel is not required by BIND headers, +# but it is contained in isc-config --libs isc +# Both Fedora and RHEL 8 is missing such dependency +BuildRequires: libcap-devel %if 0%{?rhel} && 0%{?rhel} < 8 # Following are (incomplete dependencies of bind-devel) # since 9.11.5 should provides all in requires, leave these for compatibility -BuildRequires: libcap-devel, gzip, openssl-devel +BuildRequires: gzip, openssl-devel BuildRequires: krb5-devel, libxml2-devel BuildRequires: GeoIP-devel BuildRequires: bind-devel >= 9.10.0