diff options
author | Armin Wehrfritz <[email protected]> | 2021-05-28 16:06:45 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-05-28 09:01:31 -0700 |
commit | 0a01f36b694eac55f4a43c2bd509e4e547489ee5 (patch) | |
tree | 4e820ed00242fd0e71b3e435382955150a97f3a6 /rpm | |
parent | 9e06df8ab06a7d6b8e120ae3219e5196e28ace46 (diff) |
RPM: Explicitly set the required min/max kernel version for the DKMS package
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Armin Wehrfritz <[email protected]>
Closes #12124
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/generic/zfs-dkms.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/generic/zfs-dkms.spec.in b/rpm/generic/zfs-dkms.spec.in index 6cdc224fc..0a6935516 100644 --- a/rpm/generic/zfs-dkms.spec.in +++ b/rpm/generic/zfs-dkms.spec.in @@ -26,7 +26,7 @@ BuildArch: noarch Requires: dkms >= 2.2.0.3 Requires: gcc, make, perl, diffutils %if 0%{?rhel}%{?fedora}%{?mageia}%{?suse_version} -Requires: kernel-devel +Requires: kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @[email protected] Obsoletes: spl-dkms %endif Provides: %{module}-kmod = %{version} |