summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Dockendorf <[email protected]>2013-11-15 13:36:24 -0600
committerBrian Behlendorf <[email protected]>2013-11-21 11:13:58 -0800
commit14cecbb159a45c37f84948c758db1009dda49c62 (patch)
treeb9c17f99d721962f8914f5565a68283181f10c71
parent54d5378faea6861156fe94b4cd8d817836ed0242 (diff)
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 <[email protected]> Closes #1873
-rw-r--r--rpm/generic/zfs-dkms.spec.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/rpm/generic/zfs-dkms.spec.in b/rpm/generic/zfs-dkms.spec.in
index a4b0b36ca..412feaf63 100644
--- a/rpm/generic/zfs-dkms.spec.in
+++ b/rpm/generic/zfs-dkms.spec.in
@@ -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