Change zfs-dkms requirement

Version 2.2.0.3-20 of dkms in the EPEL/Fedora repositories added the
necessary patches to support ZoL,  Therefore, the zfs-dkms requirement
on dkms is set to match that version or higher.  This allows us to
drop the custom dkms build in the ZoL EPEL/Fedora repositories.

References:
  https://bugzilla.redhat.com/show_bug.cgi?id=1023598

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1873
This commit is contained in:
Trey Dockendorf 2013-11-15 13:36:24 -06:00 committed by Brian Behlendorf
parent 54d5378fae
commit 14cecbb159
1 changed files with 1 additions and 5 deletions

View File

@ -14,11 +14,7 @@ Source0: %{module}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if 0%{?dkms_version:1}
Requires: dkms = %{dkms_version}
%else
Requires: dkms >= 2.2.0.2
%endif
Requires: dkms >= 2.2.0.3-20
Requires: spl-dkms = %{version}
Requires: gcc, make, perl
Requires: kernel-devel