From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id D57BE3EA4C for ; Sun, 1 Sep 2002 21:16:44 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g821Gf217462 for axp-list@listman.redhat.com; Sun, 1 Sep 2002 21:16:41 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g821GeY17458 for ; Sun, 1 Sep 2002 21:16:40 -0400 Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g82119l29412 for ; Sun, 1 Sep 2002 21:01:09 -0400 Received: from outpost23 ([68.0.112.106]) by lakemtao07.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020902011634.FBMI1347.lakemtao07.cox.net@outpost23> for ; Sun, 1 Sep 2002 21:16:34 -0400 From: "Ted Goodridge, Jr" To: Subject: RE: difference between rpm -bb & rpm -bc Date: Sun, 1 Sep 2002 20:18:02 -0500 Message-ID: <000801c2521e$98d04e00$6a700044@outpost23> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-reply-To: <20020901190501.A6969@ellpspace.math.ualberta.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I don't actually want it to install (and yes I read the man page, and the howto). I just want to build the binary RPM's. I did modify the specfile. Does this mean I use the '-ba' switch to just get my packages that I can later install? Thank you so much for your help. The instructions you gave are much clearer than the help/man file. Ted > -----Original Message----- > From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On > Behalf Of Michal Jaegermann > Sent: Sunday, September 01, 2002 8:05 PM > To: axp-list@redhat.com > Subject: Re: difference between rpm -bb & rpm -bc > > On Sun, Sep 01, 2002 at 07:30:43PM -0500, Ted Goodridge, Jr wrote: > > When I'm building a binary package from a source rpm, which command do I > > use > > When you are just rebuilding without any modifications to spec files > then you are using > > rpmbuild --rebuild .src.rpm > > and this will worry for you about all proper steps. > > > (and what is the difference) between > > > > rpm -bb > > rpm -bc > > One similarity is that although both still work then in the future > they will stop and you should use 'rpmbuild' instead if your rpm version > is new enough to have that utility. You may need to install 'rpm-build' > before _any_ of the above will work. There was no such split in the > past. > > As for the differences then let us see: > > $ rpmbuild --help > ......... > -bc build through %build (%prep, then compile) > from > > ......... > -bb build binary package only from > ......... > > In other words '-bc' runs only through a compilation phase and does > not really build any packages. Before the last operation you still > have to "%install" which can be "--short-circuit"ed while the whole > packaging operation cannot. > > If you modified spec file, which makes impossible to use '--rebuild', > then you should really use '-ba' because you want your customized source > package as well. > > Michal > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list