diff options
Diffstat (limited to 'rpm/generic/zfs-kmod.spec.in')
-rw-r--r-- | rpm/generic/zfs-kmod.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/generic/zfs-kmod.spec.in b/rpm/generic/zfs-kmod.spec.in index 819a6fb9c..da2798c3d 100644 --- a/rpm/generic/zfs-kmod.spec.in +++ b/rpm/generic/zfs-kmod.spec.in @@ -52,6 +52,10 @@ URL: http://zfsonlinux.org/ Source0: %{module}-%{version}.tar.gz Source10: kmodtool BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id} -u -n) +%if 0%{?rhel}%{?fedora} +BuildRequires: gcc, make +BuildRequires: elfutils-libelf-devel +%endif # The developments headers will conflict with the dkms packages. Conflicts: %{module}-dkms |