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 <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#1380
This commit is contained in:
Brian Behlendorf 2013-04-02 13:56:28 -07:00
parent 7fd629d430
commit 352bd19482
1 changed files with 2 additions and 0 deletions

View File

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