Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: difference between rpm -bb & rpm -bc
Date: Sun, 1 Sep 2002 22:33:52 -0600	[thread overview]
Message-ID: <20020901223352.A7250@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <000801c2521e$98d04e00$6a700044@outpost23>; from tedgoodridgejr@acm.org on Sun, Sep 01, 2002 at 08:18:02PM -0500

On Sun, Sep 01, 2002 at 08:18:02PM -0500, Ted Goodridge, Jr wrote:
> I don't actually want it to install (and yes I read the man page, and
> the howto).

If you want to make a binary package you have to run "%install" macro.
This installs in subdirectories of "%{buildroot}" which is normally
NOT the same as / but some temporary directory.  You can specify
it in a spec file with "BuildRoot" directive but most likely this
is already done.

> 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?

This indeed will be the way to rebuild binary packages and sources with
your modifications (spec file is a part of sources).  If you did such
changes then you should really adjust "Release" in a spec file (add your
initials?) and make an entry in a "%changelog" section.  Some time from
now when you will start to wonder what you actually modified this will
be an excelent way to check ('rpm -q --changelog ....').

  Michal




  reply	other threads:[~2002-09-02  4:34 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
2002-09-02  4:33     ` Michal Jaegermann [this message]
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