recompiling srpm's or tarballs means you won't get updates via yum.
here's how i recently got kernel 2.6.38-0.rc7.git2.3.fc16.x86_64 on f14 (not sure why it went straight to f16 not 15):
Code:
yum install fedora-release-rawhide.noarch
this will then enable /etc/yum.repos.d/fedora-rawhide.repo
Code:
[rawhide]
name=Fedora - Rawhide - Developmental packages for the next Fedora release
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/development/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
includepkgs=kernel*
note you must add the "includepkgs=kernel*" line to the bottom of that file to ONLY pull in kernels, otherwise you'll find you're upgraded to f15!
as i have an nvidia gfx card i also enabled the rpmfusion-nonfree-rawhide repo with "includepkgs=*nvidia*" to ONLY pull in nvidia rpms:
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo
Code:
[rpmfusion-nonfree-rawhide]
name=RPM Fusion for Fedora Rawhide - Nonfree
#baseurl=http://download1.rpmfusion.org/nonfree/fedora/development/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-rawhide&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-latest-$basearch file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-rawhide-$basearch
includepkgs=*nvidia*
then a regular "yum update" will pull in the latest kernel and nvidia packages and keep them up-to-date when you use yum in future.