From 352bd194827fc0b6425bf701b095969f9fb80b4f Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 2 Apr 2013 13:56:28 -0700 Subject: [PATCH] Add additional dependencies for DKMS package For the DKMS package to successfully build the kernel-devel headers must be included along gcc, make, and perl. The SPL code never directly invokes perl but the kernel build system depends on it. Signed-off-by: Brian Behlendorf Issue zfsonlinux/zfs#1380 --- rpm/generic/spl-dkms.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm/generic/spl-dkms.spec.in b/rpm/generic/spl-dkms.spec.in index 148d612edf..dbf47233ce 100644 --- a/rpm/generic/spl-dkms.spec.in +++ b/rpm/generic/spl-dkms.spec.in @@ -15,6 +15,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: dkms >= 2.2.0.2 +Requires: gcc, make, perl +Requires: kernel-devel Provides: %{module}-kmod = %{version} %description