]> git.proxmox.com Git - mirror_spl.git/commit
Provide ${kmodname}-devel-kmod for yum-builddep
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 25 Mar 2013 18:18:11 +0000 (11:18 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 25 Mar 2013 20:30:22 +0000 (13:30 -0700)
commit8636968f9a24e4a1cce1753ca68631a0ae2ced71
tree6987b7932196f4fdb28f201ba452870a38b06741
parentc14183adcabd020b72c29f224f94bd90f9cead12
Provide ${kmodname}-devel-kmod for yum-builddep

In order to ensure that yum-builddep pulls in all the build
requirements a generic ${kmodname}-devel-kmod provides line is
added.  This allows a version of the development headers to be
included without requiring knowledge of the kernel version.

This is important because unlike rpmbuild which does correctly
expand the source rpm spec file, yum-builddep does not.  Without
this generic provides line mock which relies on yum-builddep is
unable to automatically satisfy the dependency.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
scripts/kmodtool