zfsonlinux/spl — pull request #132 by Prakash-Surya (2012-07-03 00:08:06+00:00)
Title: Support building a spl-modules-dkms sub package

This commit adds support for building a spl-modules-dkms sub package
built around Dynamic Kernel Module Support. This is to allow building
packages using the DKMS infrastructure which is intended to ease the
burden of kernel version changes, upgrades, etc. By default, the dkms
sub package is disabled. This can be toggled by passing the
'--with kernel-dkms' parameter to rpmbuild.

Examples:

# To build packaged binaries agains the kernal as well as a dkms package
$ rpmbuild --rebuild --with kernel --with kernel-dkms $SRPM

# To build only the dkms package
$ rpmbuild --rebuild --without kernel --with kernel-dkms $SRPM

Note: Only the RHEL 5/6 and CHAOS 5 distributions are supported for
building the dkms sub package.

Signed-off-by: Prakash Surya
Issue zfsonlinux/zfs#535