Make spl directory setable when building rpms and add --buildroot
authorNathaniel Clark <Nathaniel.Clark@misrule.us>
Thu, 18 Apr 2013 20:57:29 +0000 (16:57 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 21 Jun 2013 23:00:45 +0000 (16:00 -0700)
commit389cf730cedd42dd1ef653e9358635c114e458d5
tree0199f863cb95a140c5678f6f1f5ea0d9407d2809
parent81eaf151071eadbb3fba74d74324a0921c5fdb5f
Make spl directory setable when building rpms and add --buildroot

This adds ability to set the location of spl via defines when
building from the spec files.  This is useful for build systems
that build spl and zfs together without installing the actual rpms.

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1486
rpm/fedora/zfs-kmod.spec.in
rpm/generic/zfs-kmod.spec.in
scripts/kmodtool