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 #12124
This commit is contained in:
parent
9e06df8ab0
commit
0a01f36b69
|
@ -26,7 +26,7 @@ BuildArch: noarch
|
||||||
Requires: dkms >= 2.2.0.3
|
Requires: dkms >= 2.2.0.3
|
||||||
Requires: gcc, make, perl, diffutils
|
Requires: gcc, make, perl, diffutils
|
||||||
%if 0%{?rhel}%{?fedora}%{?mageia}%{?suse_version}
|
%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
|
Obsoletes: spl-dkms
|
||||||
%endif
|
%endif
|
||||||
Provides: %{module}-kmod = %{version}
|
Provides: %{module}-kmod = %{version}
|
||||||
|
|
Loading…
Reference in New Issue