From: "Ted Goodridge, Jr" <tedgoodridgejr@acm.org>
To: <axp-list@redhat.com>
Subject: RE: difference between rpm -bb & rpm -bc
Date: Sun, 1 Sep 2002 20:18:02 -0500 [thread overview]
Message-ID: <000801c2521e$98d04e00$6a700044@outpost23> (raw)
In-Reply-To: <20020901190501.A6969@ellpspace.math.ualberta.ca>
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 <package>.src.rpm
>
> and this will worry for you about all proper steps.
>
> > (and what is the difference) between
> >
> > rpm -bb <specfile>
> > rpm -bc <specfile>
>
> 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
> <specfile>
> .........
> -bb build binary package only from
<specfile>
> .........
>
> 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
next prev parent reply other threads:[~2002-09-02 1:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 0:30 difference between rpm -bb & rpm -bc Ted Goodridge, Jr
2002-09-02 1:05 ` Michal Jaegermann
2002-09-02 1:18 ` Ted Goodridge, Jr [this message]
2002-09-02 4:33 ` Michal Jaegermann
2002-09-02 5:08 ` Alan Young
2002-09-02 16:50 ` George France
[not found] <20020902160107.CF4B13EB80@listman.redhat.com>
2002-09-08 2:10 ` John Haywood
2002-09-08 2:35 ` Ted Goodridge, Jr
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox