rpms/octave/devel octave.spec,1.20,1.21

Ralf Corsepius rc040203 at freenet.de
Thu Oct 27 11:23:55 UTC 2005


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





More information about the fedora-extras-commits mailing list