From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 0202B2F9F2 for ; Tue, 29 Aug 2000 14:58:28 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id OAA00669 for axp-list@listman.redhat.com; Tue, 29 Aug 2000 14:58:23 -0400 Received: from riemann.math.twsu.edu (root@riemann.math.twsu.edu [156.26.12.62]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA00659 for ; Tue, 29 Aug 2000 14:58:20 -0400 Received: from chaos.math.twsu.edu (chaos.math.twsu.edu [156.26.12.253]) by riemann.math.twsu.edu (8.9.3/8.9.3) with SMTP id NAA09756 for ; Tue, 29 Aug 2000 13:53:03 -0500 From: Mark Arrasmith To: axp-list@redhat.com Subject: Re: RPM short circuit was Re: Success with KDE2b4 Date: Tue, 29 Aug 2000 13:48:30 -0500 X-Mailer: KMail [version 1.0.29.2] Content-Type: text/plain References: <200008291729.LAA26495@ellpspace.math.ualberta.ca> In-Reply-To: <200008291729.LAA26495@ellpspace.math.ualberta.ca> MIME-Version: 1.0 Message-Id: <00082914033701.14216@chaos.math.twsu.edu> Content-Transfer-Encoding: 8bit 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.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Tue, 29 Aug 2000, Michal Jaegermann wrote: > > That's a good question. After looking at the man page it appears that > > there no way > > to get around that. > > Absolutely on purpose; in order to prevent sneaking in a weird stuff > and manual interventions when making final archives. Yeah, but sneaking in weird stuff is so much fun. I've had to change the source of several different packages to get them to compile. I've always ended up re-tar.gz'ing (<- now that is an interesting word) them and having to start everything over from scratch. It would be nice to selectively move from compiling, to installing, and finally to wrapping a binary package one step at a time. > It is possible to create and use another spec file which will be doing > mostly nothing until an installation phase. Like one for Netscape from > DU. :-) Techically this will be a different rpm archive then the one you > tried to build in the first place. Either redefine prep to do mostly > nothing or prepare "sources" from your current compilation tree. > Do not unpack on the top what you compiled or you will be starting > from scratch again. The first action in a normal prep is 'rm -rf ...'. What is with that 'rm -rf' thing anyway? I can understand the need to delete old binary trees, but why not do the same as the removing of the /var/tmp build roots. Leave it as a command after the prep. Basically without that you could simply comment out the 'rm -rf' and not have to rebuild all the object files. Also, can I changed the default behavior of the %prep macro? - mark arrasmith