]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Disable automatic dependencies in DKMS package
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Nov 2017 18:59:27 +0000 (10:59 -0800)
committerTony Hutter <hutter2@llnl.gov>
Mon, 20 Nov 2017 22:48:25 +0000 (16:48 -0600)
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

rpm/generic/zfs-dkms.spec.in

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