From 9d248f73a4941a5c5fdf5d701bee159aa6bdfa24 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 2 Apr 2013 13:35:32 -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 ZFS code never directly invokes perl but the kernel build system depends on it. Signed-off-by: Brian Behlendorf Closes #1380 --- rpm/generic/zfs-dkms.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm/generic/zfs-dkms.spec.in b/rpm/generic/zfs-dkms.spec.in index 7d871cbfb..97c811e24 100644 --- a/rpm/generic/zfs-dkms.spec.in +++ b/rpm/generic/zfs-dkms.spec.in @@ -16,6 +16,8 @@ BuildArch: noarch Requires: dkms >= 2.2.0.2 Requires: spl-dkms = %{version} +Requires: gcc, make, perl +Requires: kernel-devel Provides: %{module}-kmod = %{version} %description -- 2.40.0