Description of problem:
kmodtool doesn't embed version/release number specified by
"%kernel_module_package flavor macros in KMP packages.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Summary: Dummy summary
Group: System Environment/Kernel
Test bug 252188
Example ussage from http://driverupdateprogram.com
* Tue Oct 9 2007 Foo Bar
- Updated original examples
2.Run "rpmbuild --target=x86_64 -bb kmp.spec"
error: Failed build dependencies:
kernel-2.6.32-71.el6.x86_64-devel is needed by sxgevf-1.0-0.x86_64
Not able to build other flavor of the kernel
Nothing was created
I realize that this bug is likely the result of a badly worded example on my part in the documentation. The intention of the "flavor" is to specify other kernel variants, such as "xen", "kdump", "pae", etc. In the case of RHEL6, there really aren't many variants left and so use of this is very rare indeed.
Given this, I apologize for not realizing sooner that your request wasn't actually for a feature change in the macro, but merely a simple clarification. In general, if you want to specify a specific kernel version, all you need to do is set %kernel_version to whatever the version number you want to build against, which will override the default. Generally, the latest kernel is preferred, or a build is done using mock, but in case that you need to choose a specific kernel, please set "%kernel_version 2.6.32-release_goes_here".
We will get the documentation updated. Again, many apologies for not realizing the true nature of this request much sooner. If I can be of any assistance, please do not hesitate to email me directly at email@example.com in general.