]> granicus.if.org Git - zfs/commitdiff
Change zfs-dkms requirement
authorTrey Dockendorf <treydock@gmail.com>
Fri, 15 Nov 2013 19:36:24 +0000 (13:36 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 21 Nov 2013 19:13:58 +0000 (11:13 -0800)
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

rpm/generic/zfs-dkms.spec.in

index a4b0b36ca733598dcbb083f557dc68be9a800a01..412feaf63d3f8df3a4781394e651208963c7fb4e 100644 (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