mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
Add dkms_version conditional
By adding a dkms_version conditional it's now possible to specify an exact version of dkms. This is used by the Fedora and EPEL yum repositories to ensure the patched version of dkms provided by the repository is installed. The patched version of dkms ensures that the spl modules are built before the zfs modules. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1466
This commit is contained in:
parent
556011dbec
commit
e34f17a8df
@ -14,7 +14,11 @@ Source0: %{module}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
%if 0%{?dkms_version:1}
|
||||
Requires: dkms = %{dkms_version}
|
||||
%else
|
||||
Requires: dkms >= 2.2.0.2
|
||||
%endif
|
||||
Requires: spl-dkms = %{version}
|
||||
Requires: gcc, make, perl
|
||||
Requires: kernel-devel
|
||||
|
Loading…
Reference in New Issue
Block a user