RPM: Explicitly set the required min/max kernel version for the DKMS package
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Armin Wehrfritz <dkxls23@gmail.com> Closes openzfs#12124
This commit is contained in:
parent
5722dce473
commit
87b5e7fb1d
|
@ -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 <= @ZFS_META_KVER_MAX@.999
|
||||
Obsoletes: spl-dkms
|
||||
%endif
|
||||
Provides: %{module}-kmod = %{version}
|
||||
|
|
Loading…
Reference in New Issue