[CentOS] rpmbuild: definition of the %prep script

Mon Apr 18 16:31:30 UTC 2011
Volker Poplawski <volker at openbios.org>

On 04/18/2011 06:15 PM, Joseph L. Casale wrote:
>> in which file is the %prep script defined?
>
> Defined in the spec file.

You're right.


Actually I'm trying to figure out where these lines originate from

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.86989
+ umask 022
+ cd /home/user/rpmbuild/BUILD
+ LANG=C
+ export LANG

The setting of LANG messes up my build, which relies on Utf8.