man 2 open
[root@fedora10 rpmbuild]# pwd
[root@fedora10 rpmbuild]# ls
BUILD BUILDROOT RPMS SOURCES SPECS SRPMS
yumdownloader --source kernel
su -c 'yum-builddep kernel*.src.rpm'
rpm -ihv kernel*.src.rpm
rpmbuild -bp --target=$(uname -m) ~/rpmbuild/SPECS/kernel.spec
All trademarks, and forum posts in this site are property of their respective owner(s).