[Fedora-packaging] Kernel modules (was: Re: tpctl in extras missing dependancy for kernel-module-thinkpad)

Ville Skyttä ville.skytta at iki.fi
Wed Jun 29 18:47:32 UTC 2005

On Wed, 2005-06-29 at 14:05 -0400, Matthew Miller wrote:
> On Wed, Jun 29, 2005 at 11:55:18AM -0500, Tom 'spot' Callaway wrote:
> > # This is defined by the buildsystem, NOT on a per package basis.
> > #%define kver 2.6.11-1.1369_FC4
> If kver isn't defined, probably the canonical specfile should have a way to
> either die in an explanatory way, or else guess at a default somehow.

This would implement the latter, which is useful for local rebuilds for
the current running kernel:

    %{!?kver: %define kver %(uname -r)}

More information about the Fedora-packaging mailing list