> One final note. If you want to download the source code of packages you > have installed, you can do this: > > $ yumdownloader --source kernel > > Doing an 'rpm -i' will then unpack the src.rpm into ~/rpmbuild. And > going into ~/rpmbuild/SPECS/, you can do: > > $ rpmbuild -bp kernel.spec > > Then you'll get the complete kernel code unpacked and patched, ready to > be reviewed in ~/rpmbuild/BUILD/kernel-..... Replacing -bp with -bb > will build the RPMs. But for building, I rather recommend using 'mock'. Thank you very much David, that is exactly what I wanted to do! Dirk