Add kmod repo integration
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 27 Jul 2013 11:42:57 +0000 (04:42 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Aug 2013 16:48:07 +0000 (09:48 -0700)
commitcb79a4e8bb19908235d3cb646506530457341b76
tree88e54ce6c245bedf1af0e81b99a05eeeca663e21
parent57b650b86f15793195f9bf2185e1161c7c67904d
Add kmod repo integration

When the kmod packaging infrastructure was originally added the
dependency on the rpmfusion yum repositories was disabled.  This
was done at the time in favour of getting local builds working.

Now the time has come to conditionally re-enable that functionality
so we can properly provide binary kmod packages.

  ./configure --with-config=srpm
  make SRPM_DEFINE_KMOD='--define="repo rpmfusion"' srpm-kmod
  mock rebuild zfs-kmod-x.y.z-r.el6.src.rpm

One nice benefit of finishing this work is that the generic and
fedora spl-kmod spec files can be merged again.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
rpm/fedora/zfs-kmod.spec.in [changed from file to symlink]
rpm/generic/zfs-kmod.spec.in
scripts/kmodtool