On Wed, Jan 04, 2006 at 08:48:31AM +0100, Robert Schiele wrote:
On Wed, Jan 04, 2006 at 12:59:46PM +1300, Volker Kuhlmann wrote:
The script "build" from the package "build".
Ah, thanks. Are you sure this stuff actually works? I only ever get
build --rpms /media/suse --root /data/tmp/build ~soft/packages/SPECS/scriptutils-1.33-1.spec [...] error: File /usr/src/packages/SOURCES/scriptutils-1.33.tar.bz2: No such file or directory
It fails to pick up the source tar from /root/packages/SOURCES/, /usr/src/packages/SOURCES/, and keeps on deleting it from /data/tmp/build/usr/src/packages/SOURCES/ prior to complaining about not being able to find it - doh. Perhaps the source needs to now go into packages/SPEC - groan.
The source needs to be in the same directory the spec file is. No need to have this in any special directory. build does not make use of the /usr/src/packages/ directory of your installation at all.
Actually you don't have to run the build script to create a -32bit version of a rpm, calling /usr/lib/build/mkbaselibs -c /usr/lib/build/baselibs_global.conf -c /usr/lib/build/baselibs.conf <rpm> should also work. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}