On 18/04/11 17:31, Volker Poplawski wrote:
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.
see:
/usr/lib/rpm/redhat/macros
# Bad hack to set $LANG to C during all RPM builds %prep \ %%prep\ LANG=C\ export LANG\ unset DISPLAY\ %{nil}