Add BuildRequires on xz-devel

perf needs this to be able to deal with xz compressed modules apparently.  It
helpfully warns about it missing but doesn't fail the build.  Given we install
modules xz compressed, it's probably a good idea.
This commit is contained in:
Josh Boyer 2015-08-26 12:43:15 -04:00
parent f18145731c
commit 3a1ac34ad2

View File

@ -373,7 +373,7 @@ BuildRequires: net-tools, hostname, bc
BuildRequires: sparse
%endif
%if %{with_perf}
BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel python-devel perl(ExtUtils::Embed) bison flex
BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel python-devel perl(ExtUtils::Embed) bison flex xz-devel
BuildRequires: audit-libs-devel
%ifnarch s390 s390x %{arm}
BuildRequires: numactl-devel