From b2e091dca4a84c9aee8125c32508285cf46f7f02 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 5 Oct 2016 17:04:34 +0100 Subject: [PATCH] Add BR: perl. Perl is no longer implicitly included in the build root. See: https://fedoraproject.org/wiki/Packaging:Perl#Build_Dependencies No rebuild is required for this change. The error was: make[1]: Entering directory '/builddir/build/BUILD/libcap-2.25/libcap' => making cap_names.list.h from /builddir/build/BUILD/libcap-2.25/libcap/../libcap/include/uapi/linux/capability.h perl -e 'while ($l=<>) { if ($l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$/) { $tok=$1; $val=$2; $tok =~ tr/A-Z/a-z/; print "{\"$tok\",$val},\n"; } }' /builddir/build/BUILD/libcap-2.25/libcap/../libcap/include/uapi/linux/capability.h | fgrep -v 0x > cap_names.list.h /bin/sh: perl: command not found Makefile:47: recipe for target 'cap_names.list.h' failed make[1]: *** [cap_names.list.h] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.25/libcap' Makefile:12: recipe for target 'all' failed make: *** [all] Error 2 --- libpcap.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libpcap.spec b/libpcap.spec index 916f137..71ee44a 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -7,6 +7,7 @@ Group: Development/Libraries License: BSD with advertising URL: http://www.tcpdump.org BuildRequires: glibc-kernheaders >= 2.2.0 bison flex bluez-libs-devel +BuildRequires: perl Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz