[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Doubts about nested %if in spec file
- From: Chris Ricker <kaboom gatech edu>
- To: rpm-list redhat com
- Subject: Re: Doubts about nested %if in spec file
- Date: Thu, 30 May 2002 14:21:50 -0600 (MDT)
On Thu, 30 May 2002, James Olin Oden wrote:
> > 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.
> >
> Its also the way that System V packages work. If this approach was taken
> though, you would not necessarily have to force the scriptlet to always
> exist outside of the spec file, its just safer if the person opts to do that.
And it's one of the biggest drawbacks to the Sys V pkg format, and one of
the things I hate most about having to maintain Solaris pkgs that someone
else started. It's extremely easy to lose track of the secondary script
file or to never be given the script in the first place (though, in
fairness, that's less likely to happen with RPM, since RPM has the source
RPM concept, while the Sys V source pkg is just the admin remembering to
keep a bunch of files in a directory)....
later,
chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]