[CentOS] rpmbuild: definition of the %prep script

Mon Apr 18 16:15:11 UTC 2011
Joseph L. Casale <jcasale at activenetwerx.com>

>in which file is the %prep script defined?

Defined in the spec file.

>www.rpm.org says its a build-in script. Does that mean its defined in 
>some binary? I wonder how %prep handles the setup of locale.

I would recommend you pull down a few srpms and unpack them
then look at their spec files, helped me significantly...