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 BB40730560 for ; Tue, 29 Aug 2000 16:42:48 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id QAA10829 for axp-list@listman.redhat.com; Tue, 29 Aug 2000 16:42:48 -0400 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA10825 for ; Tue, 29 Aug 2000 16:42:48 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id OAA26783 for axp-list@redhat.com; Tue, 29 Aug 2000 14:42:44 -0600 From: Michal Jaegermann Message-Id: <200008292042.OAA26783@ellpspace.math.ualberta.ca> Subject: Re: RPM short circuit was Re: Success with KDE2b4 To: axp-list@redhat.com Date: Tue, 29 Aug 2000 14:42:44 -0600 (MDT) In-Reply-To: <00082914033701.14216@chaos.math.twsu.edu> from "Mark Arrasmith" at Aug 29, 2000 01:48:30 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Mark Arrasmith wrote: > > 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. Well, no. _That_ part you can short-circuit. I have been through the process a few times myself so I know it pretty well. :-) Whatever you modify you add as a patch to your sources, or new/changed commands in specs, and you adjust your spec file as well so the next time when you will be building from zero your changes will be applied. > It would be nice to selectively move from > compiling, to installing, This is what '--short-circuit' flag is for. > and finally to wrapping a binary package one step at > a time. And this part is designed so anybody else can do 'rpm --rebuild ...' and this will really happen (at least in an environment similar enough). > What is with that 'rm -rf' thing anyway? An insurance that you are really doing what your spec file claims that you are doing. This file is supposed to be a record of actual steps required to go from sources to working and installable binaries. Not everywhere you can do 'make distclean'. OTOH there is really nothing which would _force_ you to use rpm. But if you want to rely on rpm features then allowing "quasi-rpms", or "nearly-but-not-quite-rpms", would make all of this not worth to bother in a short time. I realize that this is PITA on a slow machine and with a big package. That is why I suggested some hacks around that (as a temporary measure for a development work) but they indeed do not allow to produce a binary package in one way and suggest at the same time that something else was done. Michal