Re: [CentOS] rpmbuild: definition of the %prep script

2011-04-19 Thread Johnny Hughes
On 04/18/2011 12:09 PM, Volker Poplawski wrote: > On 04/18/2011 06:52 PM, Joseph L. Casale wrote: >>> Actually I'm trying to figure out where these lines originate from >> >> I see >> >>> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.86989 >>> + umask 022 >>> + cd /home/user/rpmbuild/BUILD >>> + LA

Re: [CentOS] rpmbuild: definition of the %prep script

2011-04-18 Thread Volker Poplawski
On 04/18/2011 06:52 PM, Joseph L. Casale wrote: >> Actually I'm trying to figure out where these lines originate from > > I see > >> 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

Re: [CentOS] rpmbuild: definition of the %prep script

2011-04-18 Thread Ned Slider
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 /va

Re: [CentOS] rpmbuild: definition of the %prep script

2011-04-18 Thread Joseph L. Casale
>Actually I'm trying to figure out where these lines originate from I see >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. So export this in the build enviro

Re: [CentOS] rpmbuild: definition of the %prep script

2011-04-18 Thread Volker Poplawski
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/B

Re: [CentOS] rpmbuild: definition of the %prep script

2011-04-18 Thread Joseph L. Casale
>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, h