Skip to content

Commit 0a01f36

Browse files
awehrfritzbehlendorf
authored andcommitted
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
1 parent 9e06df8 commit 0a01f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpm/generic/zfs-dkms.spec.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BuildArch: noarch
2626
Requires: dkms >= 2.2.0.3
2727
Requires: gcc, make, perl, diffutils
2828
%if 0%{?rhel}%{?fedora}%{?mageia}%{?suse_version}
29-
Requires: kernel-devel
29+
Requires: kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @[email protected]
3030
Obsoletes: spl-dkms
3131
%endif
3232
Provides: %{module}-kmod = %{version}

0 commit comments

Comments
 (0)