Disable automatic dependencies in DKMS package

By default additional dependencies are generated automatically for
packages.  This is normally a good thing because it helps ensure
things just work.  It doesn't make sense for the DKMS package which
requires minimal dependencies that can be easily listed.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6467 
Closes #6835
This commit is contained in:
Brian Behlendorf 2017-11-07 10:59:27 -08:00 committed by GitHub
parent 31df97cdab
commit 12954494a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ Requires: gcc, make, perl
Requires: kernel-devel Requires: kernel-devel
%endif %endif
Provides: %{module}-kmod = %{version} Provides: %{module}-kmod = %{version}
AutoReqProv: no
%description %description
This package contains the dkms ZFS kernel modules. This package contains the dkms ZFS kernel modules.