On Wed, 12 Mar 2008, Paul Jackson wrote:
> Michael Newton wrote:
> > > Does pcp.spec.in only use 'which' in the lines:
> > >
> > > if which chkconfig
> > > then
> > > chkconfig --add pcp
> >
> > No. There are already funcs for getting round a lack of chkconfig
>
> I'm easily confused.
my apologies... im in big rush ATM.
Theres no alternative to `which` in the preexisting rc-proc.sh --
only to chkconfig. So its your 1st alternative:
> Are you saying:
>
> No -- pcp.spec.in doesn't -only- use 'which' as above
> (but also uses 'which' in other ways ...)
..and in particular that just changing the spec wont do it.
Also, im reluctant to use an absolute path if it can be avoided.
(Otherwise i could just say PreReq:/usr/bin/which in the spec,
which works for suse & redhat and probably anyone else currently
building RPMs).
Anyway, ive taken note of Nathan's suggestions in the commit i just made
to our internal repository. Ive attached a supplementary patch of the
additional changes i made to do so
Dr.Michael("Kimba")Newton kimbrr@xxxxxxx
fix
Description: Text document
|