Red Hat Bugzilla – Bug 1474735
Issue on rpm macro "latest_kernel"
Last modified: 2017-08-15 03:40:18 EDT
Created attachment 1304142 [details]
Fix on https://src.fedoraproject.org/git/rpms/redhat-rpm-config.git
Description of problem:
If you use The macro :
In a spec file, the value is the value of the package, not the kernel.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Include %kernel_module_package in a spec file
2. use macro %latest_kernel
3. echo %latest_kernel
return the version/release of the current package
return the version/release of the last kernel
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.