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
This commit is contained in:
Richard W.M. Jones 2016-10-05 17:04:34 +01:00
parent 6b2a0ea98f
commit b2e091dca4

View File

@ -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