[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Doubts about nested %if in spec file
- From: "Jaco Greeff" <jaco puxedo org>
- To: rpm-list redhat com
- Subject: Re: Doubts about nested %if in spec file
- Date: 30 May 2002 18:18:58 -0000
On Thu, 30 May 2002 12:26:46 -0500 (EST), James Olin Oden
<joden@lee.k12.nc.us> wrote :
> You could implement as you assume to wrap the script in an appropriately named
> tag, but I think it would be better for the script tags to actualy point to
> an external file. In this way you could even specify an interpreter. For
> example:
>
> <postinstall interpreter="/usr/bin/perl">postinstall.pl</postinstall>
I've been thinking about this. With my limited knowledge of other packaging
attempts (eg. deb, ebuild for Gentoo) I seem to remember that that is the
approach they've taken - different files for the actual scripts. This does
however, add moreresponsibility on the packager in that he has to maintain
more than one file.
Getting a resounding "yes" vote on this might be difficult, but is seems
like the cleanest solution.
Greetings,
Jaco
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]