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:
Armin Wehrfritz 2021-06-02 09:42:56 +10:00 committed by Tony Hutter
parent 5722dce473
commit 87b5e7fb1d
1 changed files with 1 additions and 1 deletions

View File

@ -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}