aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-04-02 13:56:28 -0700
committerBrian Behlendorf <[email protected]>2013-04-02 16:07:56 -0700
commit352bd194827fc0b6425bf701b095969f9fb80b4f (patch)
tree03c5dc97fd081de560b8cebba741159c279d0a7f /rpm
parent7fd629d4304d1335963e61802c38c9ab3856c171 (diff)
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 <[email protected]> Issue zfsonlinux/zfs#1380
Diffstat (limited to 'rpm')
-rw-r--r--rpm/generic/spl-dkms.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpm/generic/spl-dkms.spec.in b/rpm/generic/spl-dkms.spec.in
index 148d612ed..dbf47233c 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