On Thu, 17 Oct 2002, Oleg Kobets wrote:

> Alternatively, you can use some kind of perl/shell script that executes in
> the post-install stage and changes the SPEC file. Should be easy enough.

I'm not sure I understand what you suggest:

the postinstall script is executed after the package is *installed*. By
then the rpm has already been created (according to the instructions in
the spec file).

BTW: even if you change the spec file in the %install phase (which is very
messy indeed) it shoudn't change the current rpm operation, to the best of
my knowledge.

Anyway, one of the ideas of an rpm is that its creation is
reconstructable, and as much as possible, system-independent.

This is unlike a deb package which is created by a makefile, and it is
actually very easy to change things in the middle (but you really
shouldn't, unless you really know what you're doing, in the perl sense of
this phrase ;-) ).

-- 
Tzafrir Cohen
mailto:tzafrir@;technion.ac.il
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to