Mailinglist Archive: opensuse-packaging (71 mails)

< Previous Next >
[opensuse-packaging] Usage of the Build-Script
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Wed, 15 Nov 2006 10:50:31 +0100
  • Message-id: <s55af11b.056@xxxxxxxxxxxxxxxxxx>
Hi,

I'm preparing my machine to install different packages, for different
SuSE Versions / different Archs.

What I did so far:

I created directories:
/var/build/build_rpms/10.0
/var/build/build_rpms/10.1
/var/build/build_rpms/Factory

all of them contain i586, noarch an x86-64 (of the respective
versions)

using build, I do
build --rpms=/var/build/build_rpms/10.0
if I compile for 10.0 .../10.1 for 10.1 and so forth

But I'm not yet sure about the ARCH to select / build.
Is this done via --arch? (I guess so, but the help text more describes
it as it's selecting from RPMs than for building this arch).

so could I for example give
build --rpms=/var/build/build_rpms/10.0 --arch=x86-64 specfile.spec
to build an x86-64 for SuSE 10
and
build --rpms=/var/build/build_rpms/10.0 --arch=i586 specfile.spec
to build an i586 rpm for Suse 10?

Or is there something else to do?

Dominique


< Previous Next >
This Thread
  • No further messages