[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpms/octave/devel octave.spec,1.20,1.21
- From: Ralf Corsepius <rc040203 freenet de>
- To: fedora-extras-list redhat com
- Cc: fedora-extras-commits redhat com
- Subject: Re: rpms/octave/devel octave.spec,1.20,1.21
- Date: Thu, 27 Oct 2005 13:23:55 +0200
On Tue, 2005-10-25 at 11:19 -0400, Quentin Spencer wrote:
> Author: qspencer
> Index: octave.spec
> ===================================================================
> -Prereq: /sbin/ldconfig
> +Requires: /sbin/ldconfig /sbin/install-info /etc/ld.so.conf.d
This is not correct.
Your package uses /sbin/ldconfig and /sbin/install-info in
%post, /sbin/install-info in %preun, and /sbin/ldconfig in %postun:
Therefore you can't avoid to add:
Requires(post): /sbin/install-info
Requires(postun): /sbin/ldconfig
Requires(post): /sbin/ldconfig
Requires(preun): /sbin/install-info
Also, the dependency on the directory /etc/ld.so.conf.d is very
questionable and arguable.
If you really want to depend on the directory this should be
Requires(pre): /etc/ld.so.conf.d
and may-be even
Requires(postun): /etc/ld.so.conf.d
A plain "Requires: <dir>" doesn't have the effect you seem to want.
Ralf
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]