]> git.proxmox.com Git - mirror_spl.git/commitdiff
Add additional dependencies for DKMS package
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Apr 2013 20:56:28 +0000 (13:56 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Apr 2013 23:07:56 +0000 (16:07 -0700)
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

rpm/generic/spl-dkms.spec.in

index 148d612edf3f1c93e7ab0973c0028e1fd6194a78..dbf47233ce100eecb1a24bf4d18cb27da89c2628 100644 (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