From: Peter Petrakis <ppetrakis@alphalinux.org>
To: axp-list@redhat.com
Subject: Re: RPM short circuit was Re: Success with KDE2b4
Date: Tue, 29 Aug 2000 16:30:24 -0500 [thread overview]
Message-ID: <39AC2B70.25A09892@alphalinux.org> (raw)
In-Reply-To: 00082914033701.14216@chaos.math.twsu.edu
> 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.
Yes. This would be a vaulable extention indeed. Especially when you're
packaging
something that takes a long time to compile like for example gcc.
> > 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 ...'.
That's one way of doing it though I would like to keep things as simple
as possible. Having a couple differnet versions of spec files that have
different purposes is kind of a pain.
> 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?
Indeed. Passing a command flag that will change the default behavior of
%prep
would be ideal. That or you 'could' define your own macro to use instead
of %prep
that allowed such things in /usr/lib/rpm/macros.
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
next prev parent reply other threads:[~2000-08-29 20:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-28 22:11 Success with KDE2b4 Dave Gilbert
2000-08-29 0:10 ` Peter Petrakis
2000-08-28 23:45 ` Dave Gilbert
2000-08-29 14:23 ` Peter Petrakis
2000-08-29 5:58 ` Thomas Leitner
2000-08-29 9:28 ` Dave Gilbert
2000-08-30 5:37 ` Thomas Leitner
2000-08-30 15:15 ` Michal Jaegermann
2000-08-30 17:10 ` Dave Gilbert
2000-08-30 19:21 ` Peter Petrakis
2000-08-29 14:59 ` Mark Arrasmith
2000-08-29 16:29 ` Peter Petrakis
2000-08-29 16:01 ` RPM short circuit was " Mark Arrasmith
2000-08-29 17:50 ` Peter Petrakis
2000-08-29 17:29 ` Michal Jaegermann
2000-08-29 18:48 ` Mark Arrasmith
2000-08-29 20:42 ` Michal Jaegermann
2000-08-29 21:30 ` Peter Petrakis [this message]
2000-08-29 18:34 ` RPM short circuit Mark Arrasmith
2000-08-29 21:10 ` Peter Petrakis
2000-08-30 5:17 ` RPM short circuit was Re: Success with KDE2b4 SL Baur
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