Re: rpmbuild: definition of the %prep script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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}

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux