Well? The more or less official version is here:
It doesn’t work with Fedora 10⁄11 which has changed the format of uname -r ever so slightly. (I actually like the change.)
So I’ve included what I am currently using with my experimentation with Fedora 11 in the FedoraKmod project. So if folks are interested you can find it in the Git repo there.