From 3a1ac34ad2bea12901a6aec8017ccca1e871824b Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Wed, 26 Aug 2015 12:43:15 -0400 Subject: [PATCH] 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. --- kernel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index f6cb2bb08..473099b69 100644 --- a/kernel.spec +++ b/kernel.spec @@ -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