From rpm-list-admin@freshrpms.net  Fri Aug 16 11:05:58 2002
Return-Path: <rpm-zzzlist-admin@freshrpms.net>
Delivered-To: yyyy@localhost.netnoteinc.com
Received: from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id B744E43C4D
	for <jm@localhost>; Fri, 16 Aug 2002 05:58:35 -0400 (EDT)
Received: from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Fri, 16 Aug 2002 10:58:35 +0100 (IST)
Received: from egwn.net (auth02.nl.egwn.net [193.172.5.4]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7FLno719433 for
    <jm-rpm@jmason.org>; Thu, 15 Aug 2002 22:49:50 +0100
Received: from auth02.nl.egwn.net (localhost [127.0.0.1]) by egwn.net
    (8.11.6/8.11.6/EGWN) with ESMTP id g7FLbRJ31340; Thu, 15 Aug 2002 23:37:27
    +0200
Received: from python (80-24-132-206.uc.nombres.ttd.es [80.24.132.206])
    (authenticated) by egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id
    g7FLaYJ16859 for <rpm-list@freshrpms.net>; Thu, 15 Aug 2002 23:36:34 +0200
From: Matthias Saou <matthias@egwn.net>
To: rpm-zzzlist@freshrpms.net
Subject: Re: making rpms from already-compiled source trees
Message-Id: <20020815230424.25d8a83e.matthias@egwn.net>
In-Reply-To: <20020815164938.59299be9.ralf@camperquake.de>
References: <20020815050336.GB2408@marvin.home.priv>
    <20020814221418.012b296f.hosting@j2solutions.net>
    <20020815055904.GA2681@marvin.home.priv>
    <20020815064512.2c7d5f3e.hosting@j2solutions.net>
    <1029421888.1847.1033.camel@turner.gestalt.entity.net>
    <1029422204.14538.2.camel@trial>
    <20020815164938.59299be9.ralf@camperquake.de>
Organization: Electronic Group Interactive
X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-redhat-linux)
Reply-BY: Tue, 24 Jul 2000 19:02:00 +1000
X-Operating-System: GNU/Linux power!
X-Message-Flag: Try using a real operating system : GNU/Linux power!
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailscanner: Found to be clean, Found to be clean
Sender: rpm-zzzlist-admin@freshrpms.net
Errors-To: rpm-zzzlist-admin@freshrpms.net
X-Beenthere: rpm-zzzlist@freshrpms.net
X-Mailman-Version: 2.0.11
Precedence: bulk
Reply-To: rpm-zzzlist@freshrpms.net
List-Help: <mailto:rpm-zzzlist-request@freshrpms.net?subject=help>
List-Post: <mailto:rpm-zzzlist@freshrpms.net>
List-Subscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
    <mailto:rpm-list-request@freshrpms.net?subject=subscribe>
List-Id: Freshrpms RPM discussion list <rpm-zzzlist.freshrpms.net>
List-Unsubscribe: <http://lists.freshrpms.net/mailman/listinfo/rpm-zzzlist>,
    <mailto:rpm-list-request@freshrpms.net?subject=unsubscribe>
List-Archive: <http://lists.freshrpms.net/pipermail/rpm-zzzlist/>
X-Original-Date: Thu, 15 Aug 2002 23:04:24 +0200
Date: Thu, 15 Aug 2002 23:04:24 +0200

Once upon a time, Ralf wrote :

> Skipping all RPM build parts except for the actual packing is not
> possible

Actually it is (sort of).
To answer partly the original question, this might have been useful once
the %files error was corrected :

rpmbuild -bi --short-circuit <specfile>

This will skip all the way to the %install and start from there. Of course,
you need to have already done everything else before, and this will _not_
produce any rpm files, but will at least tell you if everything is now able
to finish successfully.

Sure, it's not perfect since if the %files error was actually because
entries were missing you'll notice it only once the package is really
installed. But for multiple typos in the %files section (like when you're
writing a spec file after 2AM ;-)) it can come in handy :-)

It's also very useful if you need to override some Makefile variables
during install, when the simple cases like "%makeinstall" or "make install
DESTDIR=%{buildroot}" don't work. It keeps you from redoing all the
unpacking and building processes.

Matthias

-- 
Matthias Saou                                World Trade Center
-------------                                Edificio Norte 4 Planta
System and Network Engineer                  08039 Barcelona, Spain
Electronic Group Interactive                 Phone : +34 936 00 23 23

_______________________________________________
RPM-List mailing list <RPM-List@freshrpms.net>
http://lists.freshrpms.net/mailman/listinfo/rpm-list