[Centos] rebuilding errata src rpms

Mon Jun 21 16:40:49 UTC 2004
cweisiger at i-55.com <cweisiger at i-55.com>

I am running centos-3 and have a question about 
rebuilding errata srpms from redhat.

Do all i have to do is run

rpmbuild --rebuild filename.src.rpm

to rebuild the rpm for use on my centos system?


I am talking about the src.rpms that dont have a 
a filename change for example the rpm file name
change for kernels, etc that add c0 to the rpm filename


I am assuming that if the src.rpm filename from 
redhat errata page matches that of the rpm in
centos that there were no .spec file changes
and that i can run the above command to rebuild
the rpm or any other src.rpm and then install the 
updated rpm on my system.