Hide Forgot
there is a bug in kmodtool since there is no such thing as %{kmod_version} and %{kmod_release}. here is the patch: diff -up ./kmodtool.xyz ./kmodtool --- ./kmodtool.xyz 2011-06-15 15:29:13.000000000 +0200 +++ ./kmodtool 2011-06-15 15:41:00.000000000 +0200 @@ -172,7 +179,7 @@ EOF cat <<EOF %preun -n kmod-${kmod_name}${dashvariant} -rpm -ql kmod-${kmod_name}${dashvariant}-%{kmod_version}-%{kmod_release}.$(arch) | grep '\.ko$' > /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules +rpm -ql kmod-${kmod_name}${dashvariant}-%{version}-%{release}.$(arch) | grep '\.ko$' > /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules EOF cat <<EOF
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
dare i ask to fix other kmodtool bugs too?
*** This bug has been marked as a duplicate of bug 680029 ***
In RHEL6.3, kmod_version and kmod_release macros will be defined, so this fix will not be required. The other bug, 680029 requests that -v and -r be fixed to work, which will also correct this problem.