OK, I am little confused at that point and think that maybe you right. Sometimes I write before I think it through, sorry :-)
Why not make 2 RPM's ? One for CVS and one for Snapshot ? For someone who has not CVS access you can always use wget or snarf or any other d/l program. ----- Original Message ----- From: "Tzafrir Cohen" <[EMAIL PROTECTED]> To: "Oleg Kobets" <[EMAIL PROTECTED]> Cc: "Linux-IL" <[EMAIL PROTECTED]> Sent: Saturday, October 19, 2002 12:14 PM Subject: Re: An RPM question > 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]